File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,18 @@ main() {
1010 # include our source files.
1111 cd " $OLDPWD "
1212 # We use the same environment variables set in ci.yml in the test job
13- PASSWORD=e45432jklfdsab CODE_SERVER_ADDRESS=http://localhost:8080 ./test/node_modules/.bin/jest " $@ "
13+ if [[ -z ${PASSWORD+x} ]] || [[ -z ${CODE_SERVER_ADDRESS+x} ]]; then
14+ echo " The end-to-end testing suites rely on your local environment"
15+ echo -e " \n"
16+ echo " Please set the following environment variables locally:"
17+ echo " \$ PASSWORD"
18+ echo " \$ CODE_SERVER_ADDRESS"
19+ echo -e " \n"
20+ echo " Please make sure you have code-server running locally."
21+ echo -e " \n"
22+ exit 1
23+ fi
24+ ./test/node_modules/.bin/jest " $@ "
1425}
1526
1627main " $@ "
You can’t perform that action at this time.
0 commit comments