提交 d9a00aa1 编写于 作者: Anne_LXM's avatar Anne_LXM

test(editor.test.js): 测试例中新增截图并去掉pages.test.js中的截图

上级 28d5551e
......@@ -27,6 +27,7 @@ describe('editor.uvue', () => {
it('editor-wrapper', async () => {
expect(await editor.attribute("placeholder")).toBe("开始输入...")
expect(await editor.attribute("read-only")).toBe("false")
expect(await program.screenshot()).toSaveImageSnapshot();
});
it('editor-toolbar', async () => {
......
......@@ -317,7 +317,6 @@ if (isWeb) {
'/pages/component/movable-view/movable-view',
'/pages/component/label/label',
'/pages/component/picker/picker',
'/pages/component/editor/editor',
'/pages/API/get-image-info/get-image-info',
'/pages/API/get-video-info/get-video-info',
'/pages/API/make-phone-call/make-phone-call',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册