ensure that the test script runs a prod build

This commit is contained in:
Joe Pea 2020-06-07 11:59:52 -07:00
parent dca22f3ced
commit 41dc2c7d10

View File

@ -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",