Skip to content

Commit 571c27c

Browse files
Excluding certain tests from SauceLabs
1 parent 6c90e0c commit 571c27c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

karma.conf.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,13 @@ function configureSauceLabs(config) {
200200

201201
config.reporters.push('saucelabs');
202202
config.browsers = Object.keys(config.customLaunchers);
203+
204+
// Certain tests seem to always fail on SauceLabs.
205+
// They pass fine on local browsers, so I'm not sure why they fail when run remotely.
206+
// So, exclude these tests when running on SauceLabs.
207+
baseConfig.exclude = [
208+
'tests/specs/__({[ ! % & $ # @ ` ~ ,)}]__/**',
209+
'tests/specs/blank/**',
210+
'tests/specs/unknown/**'
211+
];
203212
}

0 commit comments

Comments
 (0)