tests: Fix SPA tests

This commit is contained in:
Sébastien Chopin 2017-10-28 23:01:46 +02:00
parent e02e8df224
commit ffe1b6d8dc
3 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,5 @@
<template>
<div>
Hello SPA!
</div>
<div>Hello SPA!</div>
</template>
<script>

View File

@ -1,7 +1,5 @@
<template>
<div>
Hello SPA!
</div>
<div>Hello SPA!</div>
</template>
<script>

View File

@ -24,7 +24,7 @@ test('/ (basic spa)', async t => {
t.true(html.includes('Hello SPA!'))
})
test.failing('/ (custom layout)', async t => {
test('/custom (custom layout)', async t => {
const { html } = await renderRoute('/custom')
t.true(html.includes('Custom layout'))
})