-2

enter image description here

This is the error that I was getting

Unit Testing (This type of error occurs when I run ng test)

  • 2
    Angular 11 isn't brand new. Angular 14 is the newest version. Can you remove the image of the error and add it as text, please? – akop Nov 15 '22 at 06:46

1 Answers1

0

This error is coming from karma (it uses log4js under the hood). The solution is to update karma to at least ^6.3.12. as found here: log4js-node-DEP0004 - Deprecation warning in Angular 12 karma unit tests

Fabian Strathaus
  • 3,192
  • 1
  • 4
  • 26