Skip to content

Commit

Permalink
ensure that the test script runs a prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Jun 7, 2020
1 parent dca22f3 commit 41dc2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"dev:ssr": "run-p serve:ssr watch:*",
"lint": "eslint .",
"fixlint": "eslint . --fix",
"test": "mocha ./test/**/*.test.js",
"test": "npm run build && mocha ./test/**/*.test.js",
"testServer": "node cypress/setup.js",
"test:e2e": "start-server-and-test testServer http://localhost:3000 cy:run",
"posttest:e2e": "rimraf cypress/fixtures/docs",
Expand Down

0 comments on commit 41dc2c7

Please sign in to comment.