mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: randomize execution order of tests (#5425)
* Randomizes the order of test execution inside of Jasmine / Karma.
This commit is contained in:
committed by
mmalerba
parent
448db8b416
commit
95590613cc
+8
-1
@@ -87,8 +87,15 @@ module.exports = (config) => {
|
||||
browserConsoleLogOptions: {
|
||||
terminal: true,
|
||||
level: 'log'
|
||||
}
|
||||
},
|
||||
|
||||
client: {
|
||||
jasmine: {
|
||||
// Always execute the tests in a random order to ensure that tests don't depend
|
||||
// accidentally on other tests.
|
||||
random: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (process.env['TRAVIS']) {
|
||||
|
||||
Reference in New Issue
Block a user