So, I'm trying to use chai
expect library while running Jest
with Typescript
but I'm not being able to.
What I'm actually trying to do is something similar to this: https://medium.com/@RubenOostinga/combining-chai-and-jest-matchers-d12d1ffd0303
But I'm having no luck achieving this with Typescript
. I'm quite new to the JS / TS, coming from C
, Go
and Swift
, so I might be missing something here.
Can someone give me any directions to this this with TS while having autocomplete and no type errors working?? Thanks in advance!!
Aucun commentaire:
Enregistrer un commentaire