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

49 lines
1.1 KiB
JavaScript

var assert = require('assert');
describe('describe0', function() {
// Only runs before the current describe.
before(async () => {
myhelper();
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);
});
});
});