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
**Note**: Since, this package uses require-in-the-middle for adding hook. Therefore, it is supported for commonjs module currently. Also, you can use require statements in esmodule by:
174
+
```js
175
+
// Define "require"
176
+
import { createRequire } from"module";
177
+
constrequire=createRequire(import.meta.url);
178
+
```
158
179
159
180
### Integration with Mocha testing framework
160
181
You just need to do some imports and call a built-in assert function in your code in your unit test file and that's it!!🔥🔥🔥
0 commit comments