mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 04:54:27 +01:00
sequelize update
This commit is contained in:
22
rootfs_overlay/lkmc/nodejs/mocha_tests/global.js
Normal file
22
rootfs_overlay/lkmc/nodejs/mocha_tests/global.js
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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;
|
||||
Reference in New Issue
Block a user