forked from karma-runner/karma-sauce-launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
15 lines (13 loc) · 619 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var SauceConnect = require('./lib/sauce_connect')
var SauceLauncher = require('./lib/sauce_launcher')
var SauceReporter = require('./lib/sauce_reporter')
// PUBLISH DI MODULE
module.exports = {
'sauceConnect': ['type', SauceConnect],
'launcher:SauceLabs': ['type', SauceLauncher],
'reporter:saucelabs': ['type', SauceReporter],
// We keep a mapping from Karma launch IDs to Sauce job IDs here, to report the pass/fail results.
// We also keep the Sauce credentials here - theoretically different credentials can be used for
// different browsers in the same session.
'sauce:jobMapping': ['value', {}]
}