提交 087104f7 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 修复 web 端获取 data 异常问题

上级 82d71415
......@@ -11,10 +11,8 @@ beforeAll(async () => {
describe('Canvas.uvue', () => {
it('toBlob', async () => {
if (process.env.uniTestPlatformInfo.toLowerCase().startsWith('web')) {
const {
testToBlobResult,
testToDataURLResult
} = await page.data()
const testToBlobResult = await page.data('testToBlobResult')
const testToDataURLResult = await page.data('testToDataURLResult')
expect(testToBlobResult).toBe(true)
expect(testToDataURLResult).toBe(true)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册