how to pass expect.toMatchObject() with Date as one of the expected property value using jest?

前端 未结 0 902
傲寒
傲寒 2021-01-20 14:31

I have an express API endpoint which returns an object and on that object there is a property(property3 in our example below) which has a date as it\'s value.

For e.g

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