提交 1dda4729 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 优化 onLoad 生命周期调用弹框 API 截图区域

上级 d8c6ee1a
...@@ -63,7 +63,7 @@ describe("onLoad", () => { ...@@ -63,7 +63,7 @@ describe("onLoad", () => {
area: { area: {
x: 0, x: 0,
y: 200, y: 200,
height: 2340 height: 2140
} }
}); });
expect(image).toMatchImageSnapshot(); expect(image).toMatchImageSnapshot();
...@@ -79,7 +79,7 @@ describe("onLoad", () => { ...@@ -79,7 +79,7 @@ describe("onLoad", () => {
area: { area: {
x: 0, x: 0,
y: 200, y: 200,
height: 2340 height: 2140
} }
}); });
expect(image).toMatchImageSnapshot(); expect(image).toMatchImageSnapshot();
...@@ -94,7 +94,7 @@ describe("onLoad", () => { ...@@ -94,7 +94,7 @@ describe("onLoad", () => {
area: { area: {
x: 0, x: 0,
y: 200, y: 200,
height: 2340 height: 2140
} }
}); });
expect(image).toMatchImageSnapshot(); expect(image).toMatchImageSnapshot();
...@@ -109,7 +109,7 @@ describe("onLoad", () => { ...@@ -109,7 +109,7 @@ describe("onLoad", () => {
area: { area: {
x: 0, x: 0,
y: 200, y: 200,
height: 2340 height: 2140
} }
}); });
expect(image).toMatchImageSnapshot(); expect(image).toMatchImageSnapshot();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册