diff --git a/package.json b/package.json index 567c18aebd..60eafc1998 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "checker": "concurrently \"pnpm ts-check\" \"pnpm eslint\" \"pnpm stylelint\" \"pnpm prettier:c\"", "test": "sh ./scripts/jest/run.sh", "test:c": "sh ./scripts/jest/run-coverage.sh", - "test:ci": "sh ./scripts/jest/run-ci.sh 1 1 && node ./scripts/jest/merge-report-json.js", + "test:ci": "sh ./scripts/jest/run-ci.sh 1 1 && SHARD_COUNT=1 node ./scripts/jest/merge-report-json.js", "test:clean": "jest --clearCache", "icon:g": "pnpm --filter @actiontech/icons icon:g", "icon:docs:g": "pnpm --filter @actiontech/icons docs:g", @@ -149,4 +149,4 @@ "@babel/core": "^7.22.0", "@ant-design/cssinjs": "1.17.0" } -} \ No newline at end of file +} diff --git a/packages/base/src/__snapshots__/App.test.tsx.snap b/packages/base/src/__snapshots__/App.test.tsx.snap index 37cec6b125..ff42a054f9 100644 --- a/packages/base/src/__snapshots__/App.test.tsx.snap +++ b/packages/base/src/__snapshots__/App.test.tsx.snap @@ -229,7 +229,7 @@ exports[`App render App when "checkPageAction" is false 1`] = `
, "options": [ { - "label": "test (127.0.0.1:3306)", + "label": + + + test (127.0.0.1:3306) + + , + "text": "test (127.0.0.1:3306)", + "title": "test (127.0.0.1:3306)", "value": "123123", }, { - "label": "test2 (localhost:3306)", + "label": + + + test2 (localhost:3306) + + , + "text": "test2 (localhost:3306)", + "title": "test2 (localhost:3306)", "value": "300123", }, ], @@ -57,7 +123,27 @@ exports[`useDbService should render options when use generateDbServiceIDSelectOp class="ant-select-selection-item" title="test (127.0.0.1:3306)" > - test (127.0.0.1:3306) + + + + PROD + + + + test (127.0.0.1:3306) + +
- test (127.0.0.1:3306) + + + + PROD + + + + test (127.0.0.1:3306) + +
- test (127.0.0.1:3306) + + + + PROD + + + + test (127.0.0.1:3306) + +