module.exports = function(grunt) {
  return {
    src: [
      'src/js/data.js',
      'build/js/intlTelInput.min.js',
      'build/js/utils.js'
    ],
    options: {
      version: '3.8.0',
      noSandbox: true,
      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
    }
  };
};
