Skip to content

Instantly share code, notes, and snippets.

@samueleresca
Created December 2, 2015 22:02
Show Gist options
  • Save samueleresca/8434499843ba8e5016d9 to your computer and use it in GitHub Desktop.
Save samueleresca/8434499843ba8e5016d9 to your computer and use it in GitHub Desktop.
//KARMA CONFIGURATION
grunt.initConfig({
//PREVIOUS CODE..
karma : {
options: {
//Karma config file
configFile: 'karma.conf.js',
files: [
'node_modules/chai/chai.js',
'node_modules/sinon-chai/lib/sinon-chai.js',
'node_modules/sinon/pkg/sinon.js',
// Our test files
'js/Telefilm.js',
'test/telefilm-test.js',
'test/index.html'
]
},
dev: {
// All tested enviroments!!! (Browsers + phantomJS)
browsers: ['Chrome', 'Firefox', 'PhantomJS']
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment