-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal setup with Saucelabs for karma-runner/karma#2061
- Loading branch information
0 parents
commit cfce825
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module.exports = function(config) { | ||
config.set({ | ||
singleRun: true, | ||
frameworks: ['jasmine'], | ||
files: ['test_spec.js'], | ||
client: { | ||
useIframe: false | ||
}, | ||
browsers: ['ie'], | ||
customLaunchers: { | ||
ie: { | ||
base: 'SauceLabs', | ||
os: 'Windows 7', | ||
browserName: 'internet explorer', | ||
version: '11' | ||
} | ||
}, | ||
sauceLabs: { | ||
startConnect: false, | ||
tunnelIdentifier: process.env.SAUCELABS_TUNNEL_IDENTIFIER, | ||
testName: 'debug', | ||
}, | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"devDependencies": { | ||
"jasmine": "2.4.1", | ||
"karma": "0.13.22", | ||
"karma-jasmine": "0.3.6", | ||
"karma-sauce-launcher": "0.3.0" | ||
}, | ||
"scripts": { | ||
"test": "karma start karma.conf" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
describe('when running failing specs on IE11', function() { | ||
it('raises an error while capturing test output', function() { | ||
expect(true).toBe(false); | ||
}); | ||
}); |