fix(server, jsdom): fix timeout error message (#4412)

[skip release]
This commit is contained in:
Alexander Lichter 2018-11-25 14:51:32 +00:00 committed by Pooya Parsa
parent 0c6c69b011
commit e1c1240b8d
1 changed files with 1 additions and 1 deletions

View File

@ -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