|
1 | 1 | import { renderApp } from "../../utils/render-app"; |
2 | 2 |
|
3 | | -describe("Example view", () => { |
| 3 | +describe("Base [Rendering]", () => { |
4 | 4 | describe("When example view has been rendered", () => { |
5 | | - test("it renders entire example without errors", () => { |
| 5 | + it("should render entire example without errors", () => { |
6 | 6 | const { wrapper } = renderApp(); |
7 | 7 |
|
8 | 8 | expect(wrapper).toBeDefined(); |
9 | 9 | }); |
10 | | - test("it renders center in button without errors", () => { |
| 10 | + it("should render center in button without errors", () => { |
11 | 11 | const { centerBtn } = renderApp(); |
12 | 12 |
|
13 | 13 | expect(centerBtn).toBeDefined(); |
14 | 14 | }); |
15 | | - test("it renders zoom in button without errors", () => { |
| 15 | + it("should render zoom in button without errors", () => { |
16 | 16 | const { zoomInBtn } = renderApp(); |
17 | 17 |
|
18 | 18 | expect(zoomInBtn).toBeDefined(); |
19 | 19 | }); |
20 | | - test("it renders zoom out button without errors", () => { |
| 20 | + it("should render zoom out button without errors", () => { |
21 | 21 | const { zoomOutBtn } = renderApp(); |
22 | 22 |
|
23 | 23 | expect(zoomOutBtn).toBeDefined(); |
24 | 24 | }); |
25 | | - test("it renders reset button without errors", () => { |
| 25 | + it("should render reset button without errors", () => { |
26 | 26 | const { resetBtn } = renderApp(); |
27 | 27 |
|
28 | 28 | expect(resetBtn).toBeDefined(); |
29 | 29 | }); |
30 | | - test("it renders transform component without errors", () => { |
| 30 | + it("should render transform component without errors", () => { |
31 | 31 | const { content } = renderApp(); |
32 | 32 |
|
33 | 33 | expect(content).toBeDefined(); |
34 | 34 | }); |
35 | 35 | }); |
| 36 | + describe("When example view has been rendered", () => { |
| 37 | + it("should render with initial scale", async () => { |
| 38 | + // TODO: Implement test |
| 39 | + expect(true).toBe(true); |
| 40 | + }); |
| 41 | + it("should render with limit initial scale to minScale", async () => { |
| 42 | + // TODO: Implement test |
| 43 | + expect(true).toBe(true); |
| 44 | + }); |
| 45 | + it("should render with limit initial scale to maxScale", async () => { |
| 46 | + // TODO: Implement test |
| 47 | + expect(true).toBe(true); |
| 48 | + }); |
| 49 | + it("should center on initialization", async () => { |
| 50 | + // TODO: Implement test |
| 51 | + expect(true).toBe(true); |
| 52 | + }); |
| 53 | + }); |
36 | 54 | }); |
0 commit comments