2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-19 01:10:33 +03:00

test: build ssr fixture in test so we can collect coverage

This commit is contained in:
pimlie
2019-09-13 18:26:55 +02:00
committed by Pim
parent 695159fb71
commit dcdd47a557
+5 -1
View File
@@ -3,8 +3,12 @@ import { buildFixture } from '../utils/build'
describe('basic browser with ssr page', () => {
let html
beforeAll(async () => {
test('build', async () => {
const fixture = await buildFixture('basic')
expect(fixture).toBeDefined()
expect(fixture.html).toBeDefined()
html = fixture.html
})