mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
--forceExit jest test and remove --detectOpenHandles due to performance penalty
This commit is contained in:
parent
11e5055f2e
commit
6ccf0a1756
@ -42,8 +42,8 @@
|
||||
"dev": "PORT=3003 react-scripts start",
|
||||
"build": "react-scripts build && npm run build-sw",
|
||||
"build-sw": "node ./src/sw-build.js",
|
||||
"test": "jest --detectOpenHandles --forceExit --runInBand ./src/test/*.test.js",
|
||||
"enterprise-test": "jest --detectOpenHandles --forceExit --runInBand ./src/test/*.test.enterprise.js",
|
||||
"test": "jest --forceExit --runInBand ./src/test/*.test.js",
|
||||
"enterprise-test": "jest --forceExit --runInBand ./src/test/*.test.enterprise.js",
|
||||
"start": "node index.js",
|
||||
"audit": "npm-audit-ci-wrapper --threshold=high",
|
||||
"light-house": "node lighthouse.js --web",
|
||||
|
@ -45,8 +45,8 @@
|
||||
"scripts": {
|
||||
"dev": "PORT=3100 react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "jest --detectOpenHandles --forceExit --runInBand ./src/test/*.test.js",
|
||||
"enterprise-test": "jest --detectOpenHandles --forceExit --runInBand ./src/test/*.test.enterprise.js",
|
||||
"test": "jest --forceExit --runInBand ./src/test/*.test.js",
|
||||
"enterprise-test": "jest --forceExit --runInBand ./src/test/*.test.enterprise.js",
|
||||
"start": "node index.js",
|
||||
"audit": "npm-audit-ci-wrapper --threshold=high",
|
||||
"dep-check": "depcheck ./ --skip-missing=true --ignores='babel-*,browserslist,loadable-components,js-uuid,acorn,@beam-australia/react-env'"
|
||||
|
@ -85,8 +85,8 @@
|
||||
"dev": "PORT=3000 react-scripts start",
|
||||
"build": "react-scripts build && npm run build-sw",
|
||||
"build-sw": "node ./src/sw-build.js",
|
||||
"test": "jest --detectOpenHandles --forceExit --testSequencer ./src/test/puppeteer/CustomSequencer.js ./src/test/puppeteer/*.test.js",
|
||||
"enterprise-test": "jest --detectOpenHandles --forceExit --runInBand ./src/test/puppeteer/*.test.enterprise.js",
|
||||
"test": "jest --forceExit --testSequencer ./src/test/puppeteer/CustomSequencer.js ./src/test/puppeteer/*.test.js",
|
||||
"enterprise-test": "jest --forceExit --runInBand ./src/test/puppeteer/*.test.enterprise.js",
|
||||
"start": "node index.js",
|
||||
"dep-check": "depcheck ./ --skip-missing=true --ignores='eslint,babel-*,browserslist,loadable-components,@beam-australia/react-env'",
|
||||
"audit": "npm-audit-ci-wrapper --threshold=high",
|
||||
|
@ -5,9 +5,9 @@
|
||||
"start": "node server.js",
|
||||
"dev": "nodemon server.js",
|
||||
"test": "echo 'no tests'",
|
||||
"lighthouse-test": "jest lighthouse-tests/test/index.test.js --env=node --detectOpenHandles",
|
||||
"lighthouse-test": "jest --forceExit lighthouse-tests/test/index.test.js --env=node",
|
||||
"lighthouse": "start-server-and-test http://localhost:1444",
|
||||
"smoketest": "jest smoketest/index.test.js --env=node --detectOpenHandles",
|
||||
"smoketest": "jest --forceExit smoketest/index.test.js --env=node",
|
||||
"audit": "npm-audit-ci-wrapper --threshold=high",
|
||||
"light-house": "node lighthouse.js --web",
|
||||
"light-house-mobile": "node lighthouse.js --mobile",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"start": "node server.js",
|
||||
"dev": "cross-env NODE_ENV=development nodemon server.js",
|
||||
"audit": "npm-audit-ci-wrapper --threshold=high",
|
||||
"test": "jest --runInBand test",
|
||||
"test": "jest --forceExit --runInBand test",
|
||||
"dep-check": "depcheck ./ --skip-missing=true --ignores='ejs'"
|
||||
},
|
||||
"keywords": [],
|
||||
|
@ -4,7 +4,7 @@
|
||||
"version": "3.0.0",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"test": "jest tests",
|
||||
"test": "jest --forceExit tests",
|
||||
"start": "node server.js",
|
||||
"dev": "nodemon server.js",
|
||||
"audit": "npm-audit-ci-wrapper --threshold=high",
|
||||
|
@ -4,8 +4,8 @@
|
||||
"description": "Smoke tests for fyipe",
|
||||
"main": "index.test.js",
|
||||
"scripts": {
|
||||
"test": "jest --runInBand ./*.test.js",
|
||||
"enterprise-test": "jest --runInBand ./*.test.enterprise.js"
|
||||
"test": "jest --forceExit --runInBand ./*.test.js",
|
||||
"enterprise-test": "jest --forceExit --runInBand ./*.test.enterprise.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
Loading…
Reference in New Issue
Block a user