Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit fd5ee62

Browse files
jennifer-shehanebahmutov
authored andcommitted
Need to run transpile script before tests (#67)
Currently the https://github.com/cypress-io/cypress-test-example-repos fails because the only scripts it runs are `npm install` and `npm run test` - since the ts is not transpiled, this causes the `../../dist` to not be found in the `support/index.js` file.
1 parent 124b08a commit fd5ee62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "webpack -d",
1010
"cy:open": "cypress open",
1111
"transpile": "tsc",
12-
"pretest": "npm run lint",
12+
"pretest": "npm run lint && npm run transpile",
1313
"lint": "standard --verbose --fix *.js src cypress/integration",
1414
"semantic-release": "semantic-action pre && npm run transpile && npm publish && semantic-action post"
1515
},

0 commit comments

Comments
 (0)