diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-02-15 14:48:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 14:48:47 +0100 |
commit | 8c6d147e6ae40a1f92aba1aedc0d95ef437dd4ba (patch) | |
tree | fbb59c9a6b294fd242854480067ae50cfb61fba7 /cli/tests/workers/worker_location.ts | |
parent | 1afe6b48e0bfee44f37206eb0fc03ea6ae37ad4d (diff) |
chore: Reorganise workers tests (#9493)
Diffstat (limited to 'cli/tests/workers/worker_location.ts')
-rw-r--r-- | cli/tests/workers/worker_location.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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(); +}; |