From c3769f64e79e55e01d849c6748f88dcc62237c1d Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 2 May 2017 15:55:04 +0430 Subject: [PATCH] [tests] update error assertion Vue now gives better error "render function or template not defined in component" instead of "not_defined is not defined" --- test/error.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/error.test.js b/test/error.test.js index 4b6ebad14d..cca3f10147 100644 --- a/test/error.test.js +++ b/test/error.test.js @@ -37,7 +37,7 @@ test('/ with renderAndGetWindow()', async t => { await nuxt.renderAndGetWindow(url('/')) } catch (e) { t.true(e.message.includes('Could not load the nuxt app')) - t.true(e.body.includes('not_defined is not defined')) + t.true(e.body.includes('render function or template not defined in component')) } })