mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
324 B
13 lines
324 B
describe('static data file support in vite 3', () => {
|
|
beforeAll(async () => {
|
|
await goto('/static-data/data')
|
|
})
|
|
|
|
test('render correct content', async () => {
|
|
const pLocator = page.locator('.VPContent p')
|
|
|
|
const pContents = await pLocator.allTextContents()
|
|
expect(pContents).toMatchSnapshot()
|
|
})
|
|
})
|