Skip to content

Commit

Permalink
fix(test): move runInBand to cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Nov 8, 2024
1 parent 44cb6a7 commit f811af5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
1 change: 0 additions & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = {
verbose: false,
silent: true,
detectOpenHandles: true,
runInBand: true,
forceExit: true,
testTimeout: 40000,
testEnvironment: 'node',
Expand Down
20 changes: 20 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"yamlparser": "^0.0.2"
},
"devDependencies": {
"cross-env": "^7.0.3",
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@jest/globals": "^29.7.0",
Expand Down Expand Up @@ -66,7 +67,7 @@
"build:es": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/start.cjs --tree-shaking=true --sourcemap=inline",
"dev": "cross-env NODE_ENV=development nodemon --watch './src/**/*.ts' --exec node --loader ts-node/esm ./src/start.ts",
"lint": "eslint src --ext .ts",
"test": "NODE_OPTIONS=--experimental-vm-modules cross-env NODE_ENV=test jest",
"test": "NODE_OPTIONS=--experimental-vm-modules cross-env NODE_ENV=test jest --runInBand",
"postinstall": "rm -rf ./node_modules/@josephg/resolvable/index.ts",
"prepare": "node -e \"try { require('husky').install() } catch (e) {}\""
},
Expand Down

0 comments on commit f811af5

Please sign in to comment.