Skip to content

Commit

Permalink
chore: 尝试解决 ci 卡死
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Dec 13, 2024
1 parent c7531e0 commit 948944d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module.exports = {
setupFilesAfterEnv: ['jest-extended', './__tests__/setup.js'],
clearMocks: true,
collectCoverage: false,
verbose: true,
forceExit: true,
collectCoverageFrom: [
'src/**/*.{ts,tsx,js,vue}',
'!**/node_modules/**',
Expand Down
2 changes: 1 addition & 1 deletion packages/s2-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"clean": "rimraf lib esm dist temp",
"start": "pnpm test:live",
"sync-event": "node ./scripts/sync-event.mjs",
"test": "jest --passWithNoTests --detectOpenHandles",
"test": "jest --passWithNoTests --runInBand --detectOpenHandles",
"test:ci": "pnpm test",
"test:ci-coverage": "pnpm test:coverage",
"test:coverage": "pnpm test -- --coverage",
Expand Down
2 changes: 1 addition & 1 deletion packages/s2-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"build:umd": "cross-env FORMAT=umd vite build",
"clean": "rimraf lib esm dist temp",
"start": "cross-env PLAYGROUND=true vite",
"test": "jest --passWithNoTests --detectOpenHandles",
"test": "jest --passWithNoTests --runInBand --detectOpenHandles",
"test:ci": "pnpm test",
"test:ci-coverage": "pnpm test:coverage",
"test:coverage": "pnpm test -- --coverage",
Expand Down
2 changes: 1 addition & 1 deletion packages/s2-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"build:umd": "cross-env FORMAT=umd vite build",
"clean": "rimraf lib esm dist temp",
"start": "cross-env PLAYGROUND=true vite",
"test": "jest --passWithNoTests --detectOpenHandles",
"test": "jest --passWithNoTests --runInBand --detectOpenHandles",
"test:ci": "pnpm test",
"test:ci-coverage": "pnpm test:coverage",
"test:coverage": "pnpm test -- --coverage",
Expand Down
2 changes: 1 addition & 1 deletion packages/s2-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"build:umd": "cross-env FORMAT=umd vite build",
"clean": "rimraf lib esm dist temp",
"start": "cross-env PLAYGROUND=true vite",
"test": "jest --passWithNoTests --detectOpenHandles",
"test": "jest --passWithNoTests --runInBand --detectOpenHandles",
"test:ci": "pnpm test",
"test:ci-coverage": "pnpm test:coverage",
"test:coverage": "pnpm test -- --coverage",
Expand Down

0 comments on commit 948944d

Please sign in to comment.