Skip to content

Commit

Permalink
replace jasmine with testem runner
Browse files Browse the repository at this point in the history
  • Loading branch information
oslego committed Aug 26, 2014
1 parent dde56ff commit 4d2efe5
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions Gruntfile.js
Expand Up @@ -52,19 +52,10 @@ module.exports = function (grunt) {
]
},

jasmine: {
src: '<%= yeoman.src %>/*.js',
options: {
specs: '<%= yeoman.test %>/spec/*Spec.js',
helpers: '<%= yeoman.test %>/*Helper.js',
template: require('grunt-template-jasmine-requirejs'),
templateOptions: {
requireConfigFile: '<%= yeoman.test %>/main.js',
requireConfig: {
baseUrl: '<%= yeoman.src %>',
}
}
}
testem: {
chrome: {
options: JSON.parse(grunt.file.read('testem.json'))
}
},

requirejs: {
Expand Down Expand Up @@ -134,7 +125,7 @@ module.exports = function (grunt) {

grunt.registerTask('build', ['jshint:src', 'requirejs', 'concat', 'uglify']);

grunt.registerTask('test', ['jasmine']);
grunt.registerTask('test', ['testem:run:chrome']);

grunt.registerTask('lint', ['jshint:src']);

Expand Down

0 comments on commit 4d2efe5

Please sign in to comment.