12 lines
346 B
JavaScript
12 lines
346 B
JavaScript
describe("test", function() {
|
||
|
||
before(() => alert("Testing started – before all tests"));
|
||
after(() => alert("Testing finished – after all tests"));
|
||
|
||
beforeEach(() => alert("Before a test – enter a test"));
|
||
afterEach(() => alert("After a test – exit a test"));
|
||
|
||
it('test 1', () => alert(1));
|
||
it('test 2', () => alert(2));
|
||
|
||
});
|