Skip to content

Commit

Permalink
fix issue with use strict and blanket
Browse files Browse the repository at this point in the history
  • Loading branch information
pghalliday committed Dec 28, 2015
1 parent 235554c commit dabc031
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@
"mocha": ">=1.20.0"
},
"devDependencies": {
"chai": "~1.10.0",
"coffee-script": "~1.8.0",
"cover-child-process": "~0.1.5",
"chai": "~3.4.1",
"coffee-script": "~1.10.0",
"cover-child-process": "~0.1.6",
"grunt": "~0.4.4",
"grunt-blanket": "~0.0.8",
"grunt-blanket": "~0.0.10",
"grunt-cli": "~0.1.13",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-copy": "^0.7.0",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-clean": "~0.7.0",
"grunt-contrib-copy": "^0.8.2",
"grunt-contrib-jshint": "~0.11.3",
"grunt-coveralls": "~1.0.0",
"grunt-env": "~0.4.1",
"mocha": "~2.1.0",
"mocha-lcov-reporter": "0.0.1",
"rimraf": "^2.2.8",
"mocha": "~2.3.4",
"mocha-lcov-reporter": "1.0.0",
"rimraf": "^2.5.0",
"travis-cov": "~0.2.5"
},
"keywords": [
Expand Down
2 changes: 0 additions & 2 deletions tasks/mocha-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

var MochaWrapper = require('./lib/MochaWrapper');
var fs = require('fs');
var path = require('path');
Expand Down
2 changes: 1 addition & 1 deletion test/tasks/grunt-mocha-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('grunt-mocha-test', function() {

it('should support the colors option', function(done) {
execScenario(gruntExec, 'colorsOption', function(error, stdout, stderr) {
expect(stdout).to.match(/\u001b\[4mRunning \"mochaTest:all\" \(mochaTest\) task\u001b\[24m\n\n\n test\n\r ✓ should be ok \n\n\n 1 passing/);
expect(stdout).to.match(/\u001b\[4mRunning \"mochaTest:all\" \(mochaTest\) task\u001b\[24m\n\n\n test\n\r ✓ should be ok\n\n\n 1 passing/);
expect(stderr).to.equal('');
done();
});
Expand Down

0 comments on commit dabc031

Please sign in to comment.