From 40ebd12ccfcc5acb4a732a1207594b45b3e45424 Mon Sep 17 00:00:00 2001 From: diegchav Date: Sun, 6 Oct 2019 13:27:20 -0500 Subject: [PATCH] Fix for failing test due to update in dependency --- test/nuxt.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/nuxt.js b/test/nuxt.js index 681ea07..5232bde 100644 --- a/test/nuxt.js +++ b/test/nuxt.js @@ -19,6 +19,10 @@ test.before('Init Nuxt.js', async () => { nuxt.listen(4000, 'localhost') }) +test.after('Closing server', () => { + nuxt.close() +}) + test('Route / and render HTML', async t => { const html = await get('/') @@ -45,7 +49,3 @@ test('Route /post and render HTML', async t => { t.true(html.includes('')) t.true(html.includes('')) }) - -test.after('Closing server', () => { - nuxt.close() -})