Skip to content

Commit

Permalink
Tests fixed. Added option to detect open handles after the test finis…
Browse files Browse the repository at this point in the history
…hed.
  • Loading branch information
pavel-karatsiuba authored and kelson42 committed Jan 15, 2023
1 parent 7a0e008 commit b7ccb85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"example-wiki": "docker run -p 8080:80 -v $(pwd)/test/mediawiki:/var/www/data -it openzim/mediawiki",
"mwoffliner": "node ./lib/cli.js",
"test:pattern": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --forceExit",
"test:pattern": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --forceExit --detectOpenHandles",
"test:e2e": "npm run test:pattern 'test/e2e'",
"test:unit": "npm run test:pattern 'test/unit'",
"test:e2e-coverage": "npm run test:pattern 'test/e2e' -- --coverage",
Expand Down

0 comments on commit b7ccb85

Please sign in to comment.