mirror of
https://github.com/denoland/deno.git
synced 2025-01-13 09:32:24 -05:00
f1d0f745d3
This PR ensures that node's `worker_threads` module exports `MessageChannel`, `MessagePort` and the `BroadcastChannel` API. Fixing these won't make `esbuild` work, but brings us one step closer 🎉 Fixes #19028 .
9 lines
222 B
JavaScript
9 lines
222 B
JavaScript
// deno-fmt-ignore-file
|
|
// deno-lint-ignore-file
|
|
|
|
"use strict";
|
|
|
|
const assert = require("assert/strict");
|
|
const worker_threads = require("worker_threads");
|
|
|
|
assert.equal(BroadcastChannel, worker_threads.BroadcastChannel);
|