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() {
10
10
# include our source files.
11
11
cd " $OLDPWD "
12
12
# 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 " $@ "
14
25
}
15
26
16
27
main " $@ "
You can’t perform that action at this time.
0 commit comments