Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
Fix two times run test with babel
Browse files Browse the repository at this point in the history
  • Loading branch information
masakura committed Aug 24, 2015
1 parent 98482d4 commit 2358df8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,20 @@ module.exports = function (grunt) {
// Jasmine testing framework configuration options
jasmine: {
all: {
<% if (useBabel) { -%>
src: '.tmp/scripts/{,*/}.js',
<% } else { -%>
src: '{<%%= config.app %>,.tmp}/scripts/{,*/}*.js',
<% } -%>
options: {
vendor: [
// Your bower_components scripts
],
<% if (useBabel) { -%>
specs: '.tmp/spec/{,*/}*.js',
<% } else { -%>
specs: '{test,.tmp}/spec/{,*/}*.js',
<% } -%>
helpers: '{test,.tmp}/helpers/{,*/}*.js',
host: 'http://<%%= browserSync.test.options.host %>:<%%= browserSync.test.options.port %>'
}
Expand Down

0 comments on commit 2358df8

Please sign in to comment.