Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a91b5e7

Browse filesBrowse files
committed
dump grunt-jest and bump to stable node
1 parent 0fce149 commit a91b5e7
Copy full SHA for a91b5e7

File tree

Expand file treeCollapse file tree

3 files changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+6
-2
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+2Lines changed: 2 additions & 0 deletions
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:

‎Gruntfile.js

Copy file name to clipboardExpand all lines: Gruntfile.js
+4-1Lines changed: 4 additions & 1 deletion
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']);

‎package.json

Copy file name to clipboardExpand all lines: package.json
-1Lines changed: 0 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.