Skip to content

Commit 6a2c337

Browse files
author
Alan Shaw
committed
Upgrade to latest workshopper. Remove unused dependency.
1 parent eac150e commit 6a2c337

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"johnny-five": "^0.7.39",
4141
"proxyquire": "^1.0.0",
4242
"sinon": "^1.9",
43-
"workshopper": "~1.0.0-alpha07",
44-
"workshopper-exercise": "~0.2.3",
43+
"workshopper": "^1.2.2",
44+
"workshopper-exercise": "^1.1.0",
4545
"workshopper-wrappedexec": "~0.1.1"
4646
},
4747
"optionalDependencies": {
@@ -51,7 +51,6 @@
5151
"gulp-jshint": "^1.6.1",
5252
"gulp": "^3.6.2",
5353
"jshint-stylish": "^0.2.0",
54-
"through2": "^0.4.2",
5554
"gulp-shell": "^0.2.5"
5655
}
5756
}

tests/verify-solutions.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@ function testSolution(name) {
5353
nodebot.getData = function(){
5454
return name
5555
}
56+
57+
var exercise = nodebot.loadExercise(name)
5658
var solution = path.relative(__dirname, nodebot.dirFromName(name) + '/solution/solution.js')
5759

58-
nodebot.execute('verify', [solution])
60+
nodebot.execute(exercise, 'verify', [solution])
5961
}
6062

6163
if (process.argv.length > 2){

0 commit comments

Comments
 (0)