From 65e72b68acf57da8462b8e7b057e7adb9393b698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 11 Dec 2020 18:49:26 +0100 Subject: refactor(cli): decouple ops from ProgramState and Flags (#8659) This commit does major refactor of "Worker" and "WebWorker", in order to decouple them from "ProgramState" and "Flags". The main points of interest are "create_main_worker()" and "create_web_worker_callback()" functions which are responsible for creating "Worker" and "WebWorker" in CLI context. As a result it is now possible to factor out common "runtime" functionality into a separate crate. --- cli/tests/integration_tests.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cli/tests/integration_tests.rs') diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index c81152ec6..eeffb0097 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2646,11 +2646,6 @@ itest!(fmt_stdin_check_not_formatted { output_str: Some("Not formatted stdin\n"), }); -itest!(circular1 { - args: "run --reload circular1.js", - output: "circular1.js.out", -}); - itest!(config { args: "run --reload --config config.tsconfig.json config.ts", exit_code: 1, -- cgit v1.2.3