Skip to content

Commit ff6822a

Browse files
committed
update to latest config
1 parent a2f33e5 commit ff6822a

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

config.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66
},
77
"config": {
88
"testRunner": {
9-
"command": "npm run test:programmatic",
10-
"filter": "npm run test:filter",
11-
"path": ".coderoad",
12-
"actions": {
9+
"command": "./node_modules/.bin/mocha",
10+
"args": {
11+
"filter": "--grep",
12+
"tap": "--reporter=mocha-tap-reporter"
13+
},
14+
"directory": ".coderoad",
15+
"setup": {
1316
"commits": ["410bd4f"],
1417
"commands": ["npm install"]
1518
}
@@ -37,7 +40,8 @@
3740
"files": ["src/add.js"],
3841
"commits": ["1211e5e"],
3942
"commands": ["npm install"],
40-
"subtasks": ["^Example"]
43+
"filter": "^Example",
44+
"subtasks": true
4145
},
4246
"solution": {
4347
"files": ["src/add.js"],

config.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ summary:
44
description: "An example of subtasks in CodeRoad"
55
config:
66
testRunner:
7-
command: npm run test:programmatic
8-
filter: npm run test:filter
7+
command: ./node_modules/.bin/mocha
8+
args:
9+
filter: --grep
10+
tap: --reporter=mocha-tap-reporter
11+
director: .coderoad
12+
setup:
13+
commits: 410bd4f
14+
commands: npm install
915
repo:
1016
uri: https://github.com/shmck/coderoad-tutorial-subtask-demo
11-
branch: master
17+
branch: v0.1.0
1218
dependencies:
1319
- name: node
1420
version: ">=10"

0 commit comments

Comments
 (0)