File tree Expand file tree Collapse file tree 3 files changed +34
-20
lines changed Expand file tree Collapse file tree 3 files changed +34
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : URL Navigation and Parameter Input CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - 2024_sem2
7
+ pull_request :
8
+ branches :
9
+ - 2024_sem2
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ - name : Checkout 🛎️
16
+
17
+ with :
18
+ persist-credentials : false
19
+
20
+ - name : Install dependencies
21
+ run :
22
+ npm install
23
+ npm install jest supertest --save-dev
24
+
25
+ - name : Run tests 🔧
26
+ run :
27
+ npm start
28
+ npm test-url
Original file line number Diff line number Diff line change 15
15
"start:win32" : " SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts start" ,
16
16
"test" : " react-scripts test" ,
17
17
"test-uf" : " npm test -- ./src/algorithms/controllers/unionFind.test.js" ,
18
- "test-234t" : " npm test -- ./src/algorithms/controllers/TTFTree.test.js"
18
+ "test-234t" : " npm test -- ./src/algorithms/controllers/TTFTree.test.js" ,
19
+ "test-url" : " npm test -- ./src/algorithms/parameters/helpers/urlHelpers.test.js"
19
20
},
20
21
"husky" : {
21
22
"hooks" : {
62
63
"@mui/styles" : " ^5.14.4" ,
63
64
"@testing-library/jest-dom" : " ^4.2.4" ,
64
65
"@testing-library/react" : " ^12.1.2" ,
66
+ "@testing-library/react-hooks" : " ^8.0.1" ,
65
67
"@testing-library/user-event" : " ^14.4.3" ,
66
68
"denque" : " ^2.0.1" ,
67
69
"framer-motion" : " ^4.0.0" ,
90
92
"eslint-plugin-jsx-a11y" : " ^6.7.1" ,
91
93
"eslint-plugin-react" : " ^7.33.2" ,
92
94
"husky" : " ^4.2.5" ,
95
+ "jest" : " ^27.5.1" ,
93
96
"lint-staged" : " ^10.1.3" ,
94
97
"react" : " ^17.0.2" ,
95
98
"react-test-renderer" : " ^17.0.2" ,
96
- "run-script-os" : " ^1.1.6"
99
+ "run-script-os" : " ^1.1.6" ,
100
+ "supertest" : " ^7.0.0"
97
101
}
98
102
}
You can’t perform that action at this time.
0 commit comments