From 8c6d147e6ae40a1f92aba1aedc0d95ef437dd4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 15 Feb 2021 14:48:47 +0100 Subject: chore: Reorganise workers tests (#9493) --- cli/tests/workers/worker_location.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cli/tests/workers/worker_location.ts (limited to 'cli/tests/workers/worker_location.ts') diff --git a/cli/tests/workers/worker_location.ts b/cli/tests/workers/worker_location.ts new file mode 100644 index 000000000..89fa83036 --- /dev/null +++ b/cli/tests/workers/worker_location.ts @@ -0,0 +1,6 @@ +onmessage = function (): void { + postMessage( + `${location.href}, ${location instanceof WorkerLocation}`, + ); + close(); +}; -- cgit v1.2.3