diff --git a/packages/schematics/angular/application/files/karma.conf.js.template b/packages/schematics/angular/application/files/karma.conf.js.template index 8c012eef5745..ecfc22f61514 100644 --- a/packages/schematics/angular/application/files/karma.conf.js.template +++ b/packages/schematics/angular/application/files/karma.conf.js.template @@ -13,6 +13,12 @@ module.exports = function (config) { require('@angular-devkit/build-angular/plugins/karma') ], client: { + jasmine: { + // you can add configuration options for Jasmine here + // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html + // for example, you can disable the random execution with `random: false` + // or set a specific seed with `seed: 4321` + }, clearContext: false // leave Jasmine Spec Runner output visible in browser }, jasmineHtmlReporter: { diff --git a/packages/schematics/angular/library/files/karma.conf.js.template b/packages/schematics/angular/library/files/karma.conf.js.template index 7d8d58d39315..0cefa1c1d13a 100644 --- a/packages/schematics/angular/library/files/karma.conf.js.template +++ b/packages/schematics/angular/library/files/karma.conf.js.template @@ -13,6 +13,12 @@ module.exports = function (config) { require('@angular-devkit/build-angular/plugins/karma') ], client: { + jasmine: { + // you can add configuration options for Jasmine here + // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html + // for example, you can disable the random execution with `random: false` + // or set a specific seed with `seed: 4321` + }, clearContext: false // leave Jasmine Spec Runner output visible in browser }, jasmineHtmlReporter: {