karma-e2e.conf.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // Karma configuration
  2. // http://karma-runner.github.io/0.10/config/configuration-file.html
  3. module.exports = function(config) {
  4. config.set({
  5. // base path, that will be used to resolve files and exclude
  6. basePath: '',
  7. // testing framework to use (jasmine/mocha/qunit/...)
  8. frameworks: ['ng-scenario'],
  9. // list of files / patterns to load in the browser
  10. files: [
  11. 'test/e2e/**/*.js'
  12. ],
  13. // list of files / patterns to exclude
  14. exclude: [],
  15. // web server port
  16. port: 8080,
  17. // level of logging
  18. // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
  19. logLevel: config.LOG_INFO,
  20. // enable / disable watching file and executing tests whenever any file changes
  21. autoWatch: false,
  22. // Start these browsers, currently available:
  23. // - Chrome
  24. // - ChromeCanary
  25. // - Firefox
  26. // - Opera
  27. // - Safari (only Mac)
  28. // - PhantomJS
  29. // - IE (only Windows)
  30. browsers: ['Chrome'],
  31. // Continuous Integration mode
  32. // if true, it capture browsers, run tests and exit
  33. singleRun: false
  34. // Uncomment the following lines if you are using grunt's server to run the tests
  35. // proxies: {
  36. // '/': 'http://localhost:9000/'
  37. // },
  38. // URL root prevent conflicts with the site root
  39. // urlRoot: '_karma_'
  40. });
  41. };