Skip to content

Fix tests #17

@lishaduck

Description

@lishaduck

Currently,

  • DenoWorker.test.ts is logging lots of noisy errors. I need to figure out why they're not hard failures, and how to fix them.
    Stems from this line:
    self.removeEventListener("error", onError as EventListener);

    Example error (note the hardcoded @effect/platform-node, which I need to file an issue in @effect/platform for):
    stdout | tests/DenoWorker.test.ts > Worker > interrupt runner
    timestamp=2025-01-03T19:38:31.261Z level=WARN fiber=#168 cause="TypeError: Illegal invocation
        at Module.assertBranded (ext:deno_webidl/00_webidl.js:1142:11)
        at Proxy.removeEventListener (ext:deno_web/02_event.js:976:12)
        at /Users/dukese01/Developer/effect-utils/packages/platform-deno/src/DenoWorkerRunner.ts:130:21" module=WorkerRunner package=@effect/platform-node
    
  • There's two failures in DenoFileSystem.test.ts. Not sure what we can do to fix them, I've been able to repro them in vanilla Deno (so I guess I should go file an issue?):

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions