diff --git a/.github/workflows/node-ci.js.yml b/.github/workflows/node-ci.js.yml index 3634a728..72ce8594 100644 --- a/.github/workflows/node-ci.js.yml +++ b/.github/workflows/node-ci.js.yml @@ -28,5 +28,5 @@ jobs: npm run test:prettier npm run test:js npm run test:css - npm run test:e2e npm run test:unit + npm run test:e2e diff --git a/package.json b/package.json index dc5c493f..44b4258c 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "install": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error", "install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error", "postinstall": "npm run install-fonts && echo \"MagicMirror installation finished successfully! \n\"", - "test": "NODE_ENV=test jest --detectOpenHandles --forceExit", - "test:coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text jest --detectOpenHandles --forceExit", - "test:e2e": "NODE_ENV=test jest --selectProjects e2e --detectOpenHandles --forceExit", - "test:unit": "NODE_ENV=test jest --selectProjects unit --detectOpenHandles --forceExit", + "test": "NODE_ENV=test jest -i --forceExit", + "test:coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text jest -i --forceExit", + "test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit", + "test:unit": "NODE_ENV=test jest --selectProjects unit -i --forceExit", "test:prettier": "prettier . --check", "test:js": "eslint js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --quiet", "test:css": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json",