Skip to content

Commit a91b5e7

Browse files
committed
dump grunt-jest and bump to stable node
1 parent 0fce149 commit a91b5e7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Diff for: .travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ language: node_js
22

33
sudo: false
44

5+
node_js: stable
6+
57
after_success: npm run deploy
68

79
env:

Diff for: Gruntfile.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,13 @@ module.exports = function(grunt) {
211211
});
212212
});
213213

214+
grunt.registerTask('jest', 'Run tests with Jest.', function () {
215+
require('jest-cli').runCLI(this.options(), process.cwd(), this.async());
216+
});
217+
214218
grunt.loadNpmTasks('grunt-contrib-jshint');
215219
grunt.loadNpmTasks('grunt-contrib-copy');
216220
grunt.loadNpmTasks('grunt-contrib-clean');
217-
grunt.loadNpmTasks('grunt-jest');
218221
grunt.loadNpmTasks('grunt-release');
219222

220223
grunt.registerTask('lint', 'Lint all source javascript', ['jshint']);

Diff for: package.json

-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"grunt-contrib-clean": "0.7.0",
5656
"grunt-contrib-copy": "0.8.2",
5757
"grunt-contrib-jshint": "0.11.3",
58-
"grunt-jest": "^0.2.0",
5958
"grunt-release": "0.13.0",
6059
"gulp": "3.9.0",
6160
"gulp-concat": "2.6.0",

0 commit comments

Comments
 (0)