mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
23 lines
380 B
JavaScript
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;
|