-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
Milestone
Description
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Is this a regression?
Not relevant, this is caused by a change in Karma.
Description
When running 'ng test' in a project that is set up to use Karma as test framework, a warning about deprecated functionality is given.
🔬 Minimal Reproduction
Running 'ng test' on an Angular project that uses Karma as test framework.
🔥 Exception or Error
Passing raw CLI options to `new Server(config, done)` is deprecated. Use `parseConfig(configFilePath, cliOptions, {promiseConfig: true, throwErrors: true})` to prepare a processed `Config` instance and pass that as the `config` argument instead.
🌍 Your Environment
Angular CLI: 11.2.7
Node: 14.13.1
OS: darwin x64
Angular: 11.2.8
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1102.7
@angular-devkit/build-angular 0.1102.8
@angular-devkit/core 11.2.7
@angular-devkit/schematics 11.2.7
@angular/cdk 11.2.7
@angular/cli 11.2.7
@schematics/angular 11.2.7
@schematics/update 0.1102.7
rxjs 6.6.7
typescript 4.1.5
Anything else relevant?