test(webworker): keep bundle transport on host face
This commit is contained in:
1 parent
075a46cdec
commit
60089680f9
1 file changed
+2
-2
+2
-2
@@ -36,12 +36,12 @@ it('loads a combo map through the tunnel and gives the blob script a local map U
|
||||
const revoked: string[] = []
|
||||
const NativeURL = URL
|
||||
class StubURL extends NativeURL {
|
||||
static createObjectURL(blob: Blob): string {
|
||||
static override createObjectURL(blob: Blob): string {
|
||||
blobs.push(blob)
|
||||
return `blob:fixture-${String(blobs.length)}`
|
||||
}
|
||||
|
||||
static revokeObjectURL(url: string): void {
|
||||
static override revokeObjectURL(url: string): void {
|
||||
revoked.push(url)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user