swc/.mocha.setup.js

3 lines
152 B
JavaScript
Raw Normal View History

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