Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/window is undefined for webworker #208

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ libpeerconnection.log
*.backup
.DS_Store
coverage
tmp
10 changes: 8 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function (grunt) {
})
}

var autoStartBrowsers = ['Chrome', 'Firefox', 'Safari']
var autoStartBrowsers = (process.env.KARMA_BROWSERS || 'Chrome,Firefox,Safari').split(',')

var STREAM_SOURCE_PORT_HTTP = 4567

Expand Down Expand Up @@ -92,6 +92,11 @@ module.exports = function (grunt) {
configFile: 'test/http.conf.js'
},

'single-worker': {
browsers: autoStartBrowsers,
configFile: 'test/worker.conf.js'
},

persist: {
// for setting up a persistent karma server.
// To start the server, the task is:
Expand Down Expand Up @@ -249,7 +254,8 @@ module.exports = function (grunt) {
'browser-build',
'karma:single-concat',
'karma:single-minified',
'karma:single-amd'
'karma:single-amd',
'karma:single-worker'
])

grunt.registerTask('build', [
Expand Down
Loading