Skip to content

Commit d5bbc88

Browse files
committed
updated test folder
1 parent 15a4830 commit d5bbc88

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
working-directory: src/movie-analyst-ui
2929

3030
- name: Run tests
31-
run: npx mocha
31+
run: npm test
3232
working-directory: src/movie-analyst-ui
3333

3434
- name: Build the app

src/movie-analyst-api/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"description": "Backend API",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha",
8-
"start": "SET NODE_ENV=dev && node server.js"
7+
"test": "mocha test/**/*.js"
98
},
109
"repository": {
1110
"type": "git",
@@ -32,4 +31,4 @@
3231
"should": "^11.2.1",
3332
"supertest": "^3.0.0"
3433
}
35-
}
34+
}

0 commit comments

Comments
 (0)