Skip to content

Commit 5cc29ae

Browse files
committed
Update karma sauce config
1 parent 858ef55 commit 5cc29ae

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,15 @@ From the command line (run all required checks):
5454
$ npm run test
5555
```
5656

57-
From your browser (run unit and integration tests separately):
57+
From your browser (run unit tests):
5858

5959
```bash
6060
$ npm run test:karma:unit
61-
// or
61+
```
62+
63+
or (run integration tests):
64+
65+
```bash
6266
$ npm run test:karma:integration
6367
```
6468

karma.sauce.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ module.exports = function(config) {
102102
browserNoActivityTimeout: 600000,
103103
captureTimeout: 600000,
104104
sauceLabs: {
105+
startConnect: false,
106+
// Just something "random" so we don't have to provide additional ENV var when running locally
107+
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER || Math.ceil(Math.random() * 1337),
105108
recordScreenshots: false,
106109
recordVideo: false,
107110
testName:

0 commit comments

Comments
 (0)