Treaty converting string with iso date to Date object (Elysia 1.4) #1461
Unanswered
fabriciovergara
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There's a way to make sure that it will respect the type described in the response?
We use json files to describe the expected response and assert with
expect(actual).toMatchObject(expected);, but since it returns a Date object, the assertion fails.Beta Was this translation helpful? Give feedback.
All reactions