Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Commit eb4ae8d

Browse files
author
Dedekind561
committed
update package.json to be consistent with js1 week1 coursework
1 parent 5ae7fb4 commit eb4ae8d

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

package.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,23 @@
44
"description": "Exercises for JS1 Week 2",
55
"license": "CC-BY-SA-4.0",
66
"scripts": {
7-
"test": "jest --testRegex='mandatory[/\\\\].*\\.js$' --testPathIgnorePatterns=playing-computer",
8-
"extra-tests": "jest --testRegex='extra[/\\\\].*\\.js$'"
7+
"test": "jest"
8+
},
9+
"jest": {
10+
"projects": [
11+
{
12+
"displayName": "mandatory",
13+
"testMatch": [
14+
"<rootDir>/mandatory/*.js"
15+
]
16+
},
17+
{
18+
"displayName": "extra",
19+
"testMatch": [
20+
"<rootDir>/extra/*.js"
21+
]
22+
}
23+
]
924
},
1025
"repository": {
1126
"type": "git",

0 commit comments

Comments
 (0)