karma-runner / karma

Spectacular Test Runner for JavaScript
http://karma-runner.github.io
MIT License
11.95k stars 1.71k forks source link

Deprecation warning related to log4js syntax #3753

Closed andrei-gheorghiu closed 2 years ago

andrei-gheorghiu commented 2 years ago

When running tests in a brand new Angular 12 application, I'm getting the following deprecation warning:

(node:14940) [log4js-node-DEP0004] DeprecationWarning: Pattern %d{DATE} is deprecated due to the confusion it causes when used. Please use %d{DATETIME} instead.

, which is pretty self-explanatory.

Is there a fix in sight? Thanks.

devoto13 commented 2 years ago

Are you using the latest 6.3.12 release?

andrei-gheorghiu commented 2 years ago

Are you using the latest 6.3.12 release?

No, i'm on v6.3.11 (installed yesterday, using ng generate name-of-project - so it's the default in a any angular project latest stable, I guess). Would upgrading to v6.3.12 fix it?

FIX: I just tried upgrading to 6.3.12 and the warning is gone.

Cheers, @devoto13!