You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project has a bunch of dependencies, I cannot know what is causing the issue, but as soon as I install chai-http I start having the following errors throughout the project (on npm run tsc):
tests/unit/services/config-service.unit.test.ts:43:54 - error TS2339: Property 'calledWith' does not exist on type 'Assertion'.
43 expect(SIDMClient.getAccessToken).to.have.been.calledWith('https://xyz');
The properties: called, calledWith, rejectedWith are not present anymore in the Assertion type.
I'll check that out. But if I remove @types/chai from node_modules, the project manages to compile (so maybe that dependency should be a devDependency to avoid these side effects?)
My project has a bunch of dependencies, I cannot know what is causing the issue, but as soon as I install chai-http I start having the following errors throughout the project (on
npm run tsc
):The properties: called, calledWith, rejectedWith are not present anymore in the Assertion type.
This is my package.json dependencies
The text was updated successfully, but these errors were encountered: