File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ Must have one environment variable set:
8
8
9
9
* ` STEPZEN_ENDPOINT ` - StepZen endpoint all the tests will be deployed to (one at a time). For example:
10
10
```
11
- export STEPZEN_ENDPOINT=https://YOUR_ACCOUNT.stepzen.net/test/snippets/__graphql`
11
+ export STEPZEN_ENDPOINT=https://YOUR_ACCOUNT.stepzen.net/test/snippets/graphql
12
12
```
13
13
14
- You can also set this environment variable in a ` .env ` file in the root of the snippets repo . By copying the ` .env.example ` file.
14
+ You can also set this environment variable in a ` .env ` file in the ` tests ` folder . By copying the ` .env.example ` file.
15
15
16
16
Must be logged into your StepZen account (matching ` YOUR_ACCOUNT ` in ` STEPZEN_ENDPOINT ` )
17
17
```
@@ -21,6 +21,7 @@ stepzen login
21
21
Execute at the root of the snippets repo.
22
22
23
23
```
24
+ cd tests
24
25
npm ci
25
26
npm test
26
27
```
File renamed without changes.
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"type" : " commonjs" ,
5
5
"scripts" : {
6
- "test" : " mocha **/tests/*Test.js"
6
+ "test" : " mocha ../ **/tests/*Test.js"
7
7
},
8
8
"dependencies" : {
9
9
"chai" : " ^4.3.6" ,
You can’t perform that action at this time.
0 commit comments