Skip to content

Commit 4e5cfe8

Browse files
authored
chore: add tasks.json to run tests automatically at start (#129)
1 parent 6c73453 commit 4e5cfe8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://codesandbox.io/schemas/tasks.json",
3+
"setupTasks": ["npm install"],
4+
"tasks": {
5+
"install-dependencies": {
6+
"name": "Install Dependencies",
7+
"command": "npm install"
8+
},
9+
"start-app": {
10+
"name": "Run Dev Server",
11+
"command": "npm run dev",
12+
"runAtStart": true
13+
},
14+
"test": {
15+
"name": "Run Tests",
16+
"command": "npm run test",
17+
"runAtStart": true
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)