]> zoso.dev Git - libnemo.git/commitdiff
Worker global override for node testing was moved to wallet, so remove it from custom...
authorChris Duncan <chris@zoso.dev>
Sun, 17 Nov 2024 07:21:51 +0000 (23:21 -0800)
committerChris Duncan <chris@zoso.dev>
Sun, 17 Nov 2024 07:21:51 +0000 (23:21 -0800)
test/GLOBALS.mjs

index 0ef5e2f4a89f15ef13573e6e046dfc6216fa79d8..fa33be3e79a4d0b72645364f91db07dd881cf6f1 100644 (file)
@@ -1,12 +1,6 @@
 // SPDX-FileCopyrightText: 2024 Chris Duncan <chris@zoso.dev>
 // SPDX-License-Identifier: GPL-3.0-or-later
 
-if (globalThis.Worker == null) {
-       const { Worker } = await import('node:worker_threads')
-       Worker.prototype.addEventListener = Worker.prototype.on
-       globalThis.Worker = Worker
-}
-
 if (globalThis.sessionStorage == null) {
        const _sessionStorage = {}
        Object.defineProperty(globalThis, 'sessionStorage', {