wefra/lib/intl-tel-input-master/grunt/jasmine.js

27 lines
724 B
JavaScript

module.exports = function(grunt) {
return {
src: [
'src/js/data.js',
'build/js/intlTelInput.min.js',
'build/js/utils.js'
],
options: {
vendor: [
'node_modules/jquery/dist/jquery.js',
'node_modules/jasmine-jquery/lib/jasmine-jquery.js',
'node_modules/es6-promise/dist/es6-promise.auto.js', // for IE11
'node_modules/custom-event-polyfill/polyfill.js', // for IE11
],
helpers: [
'src/spec/helpers/**/*.js'
],
specs: [
'src/spec/tests/**/*.js'
],
styles: "build/css/intlTelInput.css", // required so adding "hide" class actually works etc.
outfile: 'spec.html',
keepRunner: true
}
};
};