diff options
Diffstat (limited to 'cli/tests/subdir/worker_location.ts')
-rw-r--r-- | cli/tests/subdir/worker_location.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/tests/subdir/worker_location.ts b/cli/tests/subdir/worker_location.ts index 480032350..89fa83036 100644 --- a/cli/tests/subdir/worker_location.ts +++ b/cli/tests/subdir/worker_location.ts @@ -1,4 +1,6 @@ onmessage = function (): void { - postMessage(self.location.href); + postMessage( + `${location.href}, ${location instanceof WorkerLocation}`, + ); close(); }; |