Typescript, Jasmine

Hello, i have a small problem with typescript and jasmine can i get small little help

that’s the type
bc1173a5e7896eb771561d1968cbc578caf6ec74

and ther’s my problem here
5c8e036b64f73e6de7c436d277d2bdc44cdf34d6

when the id be a number i got this problem
7a1f581981d7931e6348a223a88a83ddb9320a5a

when the id be a string i got this problem

Error seem to be trying to say there’s no type property in the expected object.

but how can i fix it!? i’m tried to delete id, and get error too

Do you understand what the problem is? Object with which result is checked against does not have all necessary properties from the book type.

1 Like

image
its Fixed when i add type, i’m really thank you

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.