swc/.mocha.setup.js
2022-05-04 14:25:28 +00:00

4 lines
153 B
JavaScript

// Inject jest's assertion (expect) into global scope for the Mocha
// to use same assertion between node-swc & rest.
global.expect = require("expect");