Skip to content

Commit

Permalink
chore: separate integraiton tests out of parallel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nmccready committed Sep 13, 2024
1 parent 2b7dd32 commit c1247a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const toExport = {
roots: ['<rootDir>'],
transformIgnorePatterns: ['node_modules', '/<rootDir>/lib', '/<rootDir>/(?!src)'],
verbose: true,
testRegex: '(/test/.*(test|spec))\\.[jt]sx?$',
testRegex: '(/(test|integration)/.*(test|spec))\\.[jt]sx?$',
};

if (toNotIgnore.modules.length) {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@
"coveralls": "cat ./coverage/lcov.info | coveralls",
"docs:api:markdown": "npx typedoc --theme markdown --exclude ./src/test --out ./docs/api ./src",
"docs:api:website": "npx typedoc --exclude ./src/test --out docs ./src",
"jest": "npx jest",
"lint": "npm run build && eslint --ext .js,.ts,.tsx *.js src test --color",
"mocha": "mocha",
"prepack": "npm run build",
"prepare": "npx sort-package-json",
"test": "npm run build && npm run jest",
"test": "npm run build && npx jest ./test && npx jest ./integration",
"test:ci": "npm run build && npm run test --coverage && npm run coveralls",
"preversion": "npm run build"
},
Expand Down

0 comments on commit c1247a9

Please sign in to comment.