From dcdd47a557e3832493427772b290544d3a868683 Mon Sep 17 00:00:00 2001 From: pimlie Date: Fri, 13 Sep 2019 18:26:55 +0200 Subject: [PATCH] test: build ssr fixture in test so we can collect coverage --- test/e2e/ssr.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/e2e/ssr.test.js b/test/e2e/ssr.test.js index c9eee3e..290e173 100644 --- a/test/e2e/ssr.test.js +++ b/test/e2e/ssr.test.js @@ -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 })