How to write unit test on current date and time in Angular Unit Test?

前端 未结 0 1332
栀梦
栀梦 2021-01-30 11:32

I\'m writing unit test in angular, and trying to compare the two current date and time with toEqual, but it is getting failed and it throws below message.

Expected Date(T

相关标签:
回答
  • 消灭零回复
提交回复
热议问题