Skip to content
Permalink
Browse files

feat(testing): add karm browser launchers for chrome, firefox, ie and…

… safari
  • Loading branch information
jyounce committed Jul 15, 2015
1 parent 725b960 commit f9dcc9036a7d1ab2dccd7252dc84c4ac93211f77
Showing with 6 additions and 3 deletions.
  1. +4 −0 package.json
  2. +1 −1 tasks/test/run-tests.coffee
  3. +1 −2 tasks/test/test-config.coffee
@@ -56,7 +56,11 @@
"jasmine-core": "~2.3.4",
"karma": "~0.12.37",
"karma-jasmine": "~0.3.6",
"karma-chrome-launcher": "~0.2.0",
"karma-firefox-launcher": "~0.1.6",
"karma-ie-launcher": "~0.2.0",
"karma-phantomjs-launcher": "~0.2.0",
"karma-safari-launcher": "~0.1.1",
"less-imports": "~1.1.0",
"mkdirp": "~0.5.1",
"open": "~0.0.5",
@@ -11,7 +11,7 @@ module.exports = (gulp, config) ->
# =============
gulp.task "#{config.rb.prefix.task}run-tests", ->
defer = q.defer()
karma.start opts, (exitCode, x) ->
karma.start opts, (exitCode) ->
console.log "Karma has exited with #{exitCode}."
defer.resolve()
process.exit exitCode
@@ -13,7 +13,6 @@ module.exports = (config) ->
rbConfig.glob.dist.rb.client.test.js
rbConfig.glob.dist.app.client.test.js
)
# console.log scripts
scripts

# return
@@ -23,5 +22,5 @@ module.exports = (config) ->
basePath: rbConfig.app.dir
files: getScripts 'files.json'
frameworks: ['jasmine']
browsers: ['PhantomJS']
browsers: ['PhantomJS'] # 'Chrome', 'Firefox', 'IE', 'Safari'
singleRun: true

0 comments on commit f9dcc90

Please sign in to comment.
You can’t perform that action at this time.