mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
sequelize sqlite
This commit is contained in:
47
rootfs_overlay/lkmc/nodejs/mocha/mytest.js
Normal file
47
rootfs_overlay/lkmc/nodejs/mocha/mytest.js
Normal file
@@ -0,0 +1,47 @@
|
||||
var assert = require('assert');
|
||||
|
||||
describe('describe0', function() {
|
||||
// Only runs before the current describe.
|
||||
before(async () => {
|
||||
console.error('before describe 0');
|
||||
});
|
||||
beforeEach(async () => {
|
||||
console.error('beforeEach describe 0');
|
||||
});
|
||||
it('it 0 0', function() {
|
||||
assert.equal(0, 0);
|
||||
});
|
||||
it('it 0 1', function() {
|
||||
assert.equal(0, 0);
|
||||
});
|
||||
|
||||
describe('describe 0 0', function() {
|
||||
before(async () => {
|
||||
console.error('before describe 0 0');
|
||||
});
|
||||
beforeEach(async () => {
|
||||
console.error('beforeEach describe 0 0');
|
||||
});
|
||||
it('it 0 0 0', function() {
|
||||
assert.equal(0, 0);
|
||||
});
|
||||
it('it 0 0 1', function() {
|
||||
assert.equal(0, 0);
|
||||
});
|
||||
});
|
||||
|
||||
describe('describe 0 1', function() {
|
||||
before(async () => {
|
||||
console.error('before describe 0 1');
|
||||
});
|
||||
beforeEach(async () => {
|
||||
console.error('beforeEach describe 0 1');
|
||||
});
|
||||
it('it 0 1 0', function() {
|
||||
assert.equal(0, 0);
|
||||
});
|
||||
it('it 0 1 1', function() {
|
||||
assert.equal(0, 0);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user