Skip to content

Commit

Permalink
Move tests to specific script
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienlauer committed Jul 10, 2018
1 parent f953ed3 commit bedde32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-connect');

grunt.registerTask('docs', ['ngdocs', 'connect:docs']);

grunt.registerTask('default', ['clean', 'jshint', 'karma:test', 'coveralls', 'ngdocs']);
grunt.registerTask('default', ['clean', 'jshint', 'ngdocs']);
grunt.registerTask('test', ['karma:test', 'coveralls']);
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"uri-templates": "^0.2.0"
},
"scripts": {
"install": "grunt"
"install": "grunt",
"test": "grunt test"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit bedde32

Please sign in to comment.