load-font-face.test.js 335 字节
Newer Older
DCloud-WZF's avatar
DCloud-WZF 已提交
1 2 3 4 5 6 7 8 9 10 11 12
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(2000)
  })
  it('screenshot', async () => {
    const image = await program.screenshot()
    expect(image).toMatchImageSnapshot()
  })
})