'Invalid Chai property: calledOnce
I'm seeing the following errors when running TypeScript unit tests. The problem is when I try to install chai/sinon-chai/sinon, it doesn't help. Has anyone run into this issue?
'Provide Feedback' toast should call the analytics actions
Chrome Headless 98.0.4695.0 (Mac OS 10.15.7)
Safari 15.4 (Mac OS 10.15.7)
Firefox 94.0 (Mac OS 10.15)
Invalid Chai property: calledOnce
[email protected]/karma_webpack/commons.js:186874:1519
./src/components/hz-toasting-container/specs/test.spec.ts/</<@.tmp/karma_webpack/commons.js:69139:70
Runnable.prototype.run@/Users/test/dev/test/common/temp/node_modules/.pnpm/[email protected]/node_modules/karma-mocha-snapshot/lib/adapter.js:14:17
Runnable.prototype.run@/Users/wscott/dev/hz4/common/temp/node_modules/.pnpm/[email protected]/node_modules/karma-mocha-snapshot/lib/adapter.js:14:17
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
