Files
linux-kernel-module-cheat/rootfs_overlay/lkmc/nodejs/mocha_tests/global.js
Ciro Santilli 六四事件 法轮功 461aa04b8b sequelize update
2021-04-08 01:00:00 +00:00

23 lines
380 B
JavaScript

// Global fixture.
exports.mochaGlobalSetup = async function() {
console.log('mochaGlobalSetup');
};
// Root hook.
exports.mochaHooks = {
before(done) {
console.log('mochaHooks.before');
done();
},
beforeEach(done) {
console.log('mochaHooks.beforeEach');
done();
},
};
function myhelper() {
console.error('myhelper');
}
exports.myhelper = myhelper;