Skip to content

Commit 2f540ae

Browse files
Merge #1467
1467: Add building of the project before running the browser tests r=bidoubiwa a=bidoubiwa Its not clear that the browser tests is using the build of the project and not the up to date source files. To ensure we avoid running the test on outdated builds, this PR adds `yarn build` before the tests are ran Co-authored-by: Charlotte Vermandel <[email protected]>
2 parents c11cc13 + 1c5dd9e commit 2f540ae

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
@@ -38,7 +38,7 @@
3838
"test": "yarn clear_jest && jest --runInBand --verbose",
3939
"types:watch": "nodemon --config nodemon.json",
4040
"types": "yarn tsc",
41-
"test:env:browser": "yarn --cwd tests/env/express && yarn --cwd tests/env/express test",
41+
"test:env:browser": "yarn build && yarn --cwd tests/env/express && yarn --cwd tests/env/express test",
4242
"test:watch": "yarn clear_jest && yarn test --watch",
4343
"test:coverage": "yarn test --coverage",
4444
"test:ci": "yarn test --ci",

0 commit comments

Comments
 (0)