MCPcopy
hub / github.com/andremichelle/openDAW / polyfill.ts

File polyfill.ts

packages/studio/core/src/polyfill.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Polyfill for vitest
2//
3if (typeof globalThis.AudioWorkletNode === "undefined") {
4 (globalThis as any).AudioWorkletNode = class AudioWorkletNode {}

Callers

nothing calls this directly

Calls 5

getMethod · 0.65
setMethod · 0.65
deleteMethod · 0.65
clearMethod · 0.65
keysMethod · 0.65

Tested by

no test coverage detected