test(canvas): exercise native CDN downloads with a browser adapter
This commit is contained in:
parent
2b9e3635d3
commit
61455df9d2
@ -48,6 +48,10 @@ function serverLoader(mocks: Record<string, unknown>, env: Record<string, string
|
|||||||
AbortSignal,
|
AbortSignal,
|
||||||
AbortController,
|
AbortController,
|
||||||
ReadableStream,
|
ReadableStream,
|
||||||
|
Headers,
|
||||||
|
Blob,
|
||||||
|
document: mocks.document,
|
||||||
|
window: mocks.window,
|
||||||
console: { log() {}, warn() {}, error() {}, info() {} },
|
console: { log() {}, warn() {}, error() {}, info() {} },
|
||||||
fetch:
|
fetch:
|
||||||
mocks.fetch ||
|
mocks.fetch ||
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user