2021-07-27 10:54:21 +09:00
|
|
|
/** @license https://github.com/facebook/jest/blob/master/LICENSE */
|
|
|
|
|
|
|
|
beforeAll(() => console.log("1 - beforeAll"));
|
|
|
|
afterAll(() => console.log("1 - afterAll"));
|
|
|
|
beforeEach(() => console.log("1 - beforeEach"));
|
|
|
|
afterEach(() => console.log("1 - afterEach"));
|
2022-02-24 21:50:24 +09:00
|
|
|
test("1 - test", () => console.log("1 - test"));
|
2021-07-27 10:54:21 +09:00
|
|
|
describe("Scoped / Nested block", () => {
|
|
|
|
beforeAll(() => console.log("2 - beforeAll"));
|
|
|
|
afterAll(() => console.log("2 - afterAll"));
|
|
|
|
beforeEach(() => console.log("2 - beforeEach"));
|
|
|
|
afterEach(() => console.log("2 - afterEach"));
|
2022-02-24 21:50:24 +09:00
|
|
|
test("2 - test", () => console.log("2 - test"));
|
2021-07-27 10:54:21 +09:00
|
|
|
});
|