From b9311393fa3bf3d1ef647b9adf7541c7344f8a45 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 20 Apr 2018 21:54:40 -0400 Subject: [PATCH] fix double output logging --- test/runtime/index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/runtime/index.js b/test/runtime/index.js index 8f37b7bb84..d5506c0c6d 100644 --- a/test/runtime/index.js +++ b/test/runtime/index.js @@ -110,12 +110,7 @@ describe.only("runtime", () => { }; }; - try { - SvelteComponent = require(`./samples/${dir}/main.html`); - } catch (err) { - showOutput(cwd, { shared, format: 'cjs', hydratable: hydrate, store: !!compileOptions.store }, compile); // eslint-disable-line no-console - throw err; - } + SvelteComponent = require(`./samples/${dir}/main.html`); global.window = window;