Skip to content

Commit 25a1f7b

Browse files
committed
test: set RUNNING_KUI_TEST=true for npm test target
this tells kui core not to use the second window instance magic from electron; this is because we want tests always to have their own fresh process
1 parent d00aef5 commit 25a1f7b

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
@@ -34,7 +34,7 @@
3434
"start": "WATCH_ARGS='-open' npm run watch",
3535
"mirror": "T=$(mktemp -d); (cd $T && git clone --depth=1 git@github.com:guidebooks/store.git) && echo \"mirror stage in $T/store\" && ./bin/madwizard.js mirror $T/store/guidebooks ./store",
3636
"mirror-if-needed": "if [ ! -d ./store ]; then npm run mirror; fi",
37-
"test": "playwright test --workers 1"
37+
"test": "RUNNING_KUI_TEST=true playwright test --workers 1"
3838
},
3939
"keywords": [],
4040
"author": "@starpit",

0 commit comments

Comments
 (0)