From ab6367b97d777a1070a46d33dc82430e4735b7e5 Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Sun, 25 Nov 2018 14:51:32 +0000 Subject: [PATCH] fix(server, jsdom): fix timeout error message (#4412) [skip release] --- packages/server/src/jsdom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/jsdom.js b/packages/server/src/jsdom.js index 41410325eb..c632cbbdfa 100644 --- a/packages/server/src/jsdom.js +++ b/packages/server/src/jsdom.js @@ -63,7 +63,7 @@ export default async function renderAndGetWindow( // Used by Nuxt.js to say when the components are loaded and the app ready await timeout(new Promise((resolve) => { window[loadedCallback] = () => resolve(window) - }), loadingTimeout, `Components loading in renderAndGetWindow was not completed in ${timeout / 1000}s`) + }), loadingTimeout, `Components loading in renderAndGetWindow was not completed in ${loadingTimeout / 1000}s`) if (options.virtualConsole) { // After window initialized successfully