Fork自 DCloud / hello uni-app x
const PAGE_PATH = '/pages/API/load-font-face/load-font-face' describe('loadFontFace', () => { beforeAll(async () => { const page = await program.navigateTo(PAGE_PATH)
await page.waitFor(3000)
}) it('screenshot', async () => { const image = await program.screenshot() expect(image).toMatchImageSnapshot() }) })