Skip to content

Commit 2a69f1b

Browse files
author
Sassoun Derderian
committed
chore: set sourceMap=true in ts-loader compilerOptions
1 parent 48747d4 commit 2a69f1b

3 files changed

Lines changed: 43 additions & 35 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ node_js:
99
- '4'
1010
script: npm run ci-test
1111
addons:
12-
sauce_connect: true
13-
env:
14-
global:
15-
- secure: Zmndw3YPp7JUPHRWfzF6ieqwDqWs4GnKMqXNaPNCcY1D76rH2CGTe6YQHhvNEgIm5UItH39x306TMWjqZfCFUVpAks8AQEigADAMPbgqLg8JG4QVIb1sQiZPiVHJA5Ho6YNB4hqv3fp+D9DWRDIMiLYmWiRD8/hFaow/xkfMyiA=
16-
- secure: jdw+OA04vF8+t+iOkWRfDWexKGVxrjpt8iwkY/CBnmANFQckseLwVrDJyHrjcxQlY7SlkSudMNXizINKJDldPx4BBlt1I6n7441CYQ2KpRqzAQXgLPWy+Ea/lM2QcSfihG/xC8Q30CVfMUTZTZx/6nUlIoeB2eItzy9+KsE9UaU=
12+
browserstack:
13+
username:
14+
secure: "sassounderderian1"
15+
access_key:
16+
secure: "RiRAISQ1espgnPgoczTj3wlBh2GTfexfjnJhcTswhTO6TDWulwGNhltDgYDd9oVmy3p+zAh7vGakvVpEeMFv5NzUc4rN6SNBRaAPoqFa12gawHoL/UIFwsnfFdILLPoF3d8mWpqQbZ3xbd2EBndDS0/a+WifKeXPu73wqbSdLlU="

karma-ci.conf.js

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,50 @@ module.exports = function (config) {
77

88
// Browsers to run on Sauce Labs
99
const customLaunchers = {
10-
'SL_Chrome': {
11-
base: 'SauceLabs',
12-
browserName: 'chrome',
13-
version: '48.0',
14-
platform: 'Linux'
10+
'bs_chrome_mac': {
11+
base: 'BrowserStack',
12+
browser: 'chrome',
13+
browser_version: '56.0',
14+
os: 'OS X',
15+
os_version: 'Sierra'
1516
},
16-
'SL_Firefox': {
17-
base: 'SauceLabs',
18-
browserName: 'firefox',
19-
version: '50.0',
20-
platform: 'Windows 10'
17+
'bs_firefox_mac': {
18+
base: 'BrowserStack',
19+
browser: 'firefox',
20+
browser_version: '52.0',
21+
os: 'OS X',
22+
os_version: 'Sierra'
2123
},
22-
'SL_InternetExplorer': {
23-
base: 'SauceLabs',
24-
browserName: 'internet explorer',
25-
version: '11.0',
26-
platform: 'Windows 7'
24+
'bs_internet_explorer_win': {
25+
base: 'BrowserStack',
26+
browser: 'internet explorer',
27+
browser_version: '11.0',
28+
os: 'Windows',
29+
os_version: '7'
2730
},
28-
'SL_Safari': {
29-
base: 'SauceLabs',
30-
browserName: 'safari',
31-
platform: 'OS X 10.11',
32-
version: '10.0'
31+
'bs_safari_mac': {
32+
base: 'BrowserStack',
33+
browser: 'safari',
34+
browser_version: '10.0',
35+
os: 'OS X',
36+
os_version: 'Sierra'
3337
}
3438
};
3539

3640
// Override config for CI.
3741
config.set({
38-
reporters: ['spec', 'coverage', 'saucelabs'],
39-
sauceLabs: {
40-
testName: 'workfront-api CI tests',
41-
recordScreenshots: false,
42-
connectOptions: {
43-
port: 5757
44-
},
45-
public: 'public'
46-
},
47-
captureTimeout: 120000,
42+
plugins: ['karma-browserstack-launcher'],
43+
44+
reporters: ['progress'],
45+
// sauceLabs: {
46+
// testName: 'workfront-api CI tests',
47+
// recordScreenshots: false,
48+
// connectOptions: {
49+
// port: 5757
50+
// },
51+
// public: 'public'
52+
// },
53+
// captureTimeout: 120000,
4854
customLaunchers: customLaunchers,
4955

5056
// start these browsers

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"http-server": "0.9.0",
3030
"istanbul-instrumenter-loader": "2.0.0",
3131
"karma": "1.5.0",
32+
"karma-browserstack-launcher": "1.2.0",
3233
"karma-chrome-launcher": "2.0.0",
3334
"karma-cli": "1.0.1",
3435
"karma-coverage": "1.1.1",
@@ -43,6 +44,7 @@
4344
"npm-run-all": "4.0.2",
4445
"phantomjs-polyfill-object-assign": "0.0.2",
4546
"phantomjs-prebuilt": "2.1.14",
47+
"remap-istanbul": "0.9.1",
4648
"requirejs": "2.3.3",
4749
"semver": "5.1.0",
4850
"shelljs": "0.5.3",

0 commit comments

Comments
 (0)