File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
- name : substraitJS test
1
+ name : substraitJS
2
2
3
3
on : [push, pull_request]
4
4
26
26
- name : Install dependencies
27
27
run : npm ci
28
28
29
- - name : Build project
30
- run : npm run build
31
-
32
29
- name : Run tests
33
30
run : npm run test
34
31
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -43,6 +43,16 @@ nvm use 18.0.0
43
43
44
44
substrait -p ../plan.json -o <output path>
45
45
```
46
+
47
+ ## Testing
48
+ Jest is used for testing the visualization functionality of the library. To run the test, we need
49
+ to use ` nvm v18.0.0 `
50
+ ```
51
+ source ~/.nvm/nvm.sh
52
+ nvm use 18.0.0
53
+
54
+ npm run test
55
+ ```
46
56
47
57
## License
48
58
[ Apache-2.0 license] ( https://www.apache.org/licenses/LICENSE-2.0 )
Original file line number Diff line number Diff line change 18
18
"prepare" : " npm run clean-proto && npm run proto && npm run transpileProto" ,
19
19
"lint" : " eslint '**/*.ts'" ,
20
20
"lint:fix" : " npm run lint -- --fix" ,
21
- "test" : " $HOME/.nvm/nvm-exec jest"
21
+ "test" : " npm run build && jest"
22
22
},
23
23
"author" : " " ,
24
24
"license" : " Apache-2.0" ,
You can’t perform that action at this time.
0 commit comments