labels rendering performance improvement: create ImageBitmaps in worker #6442
Annotations
10 errors
Run:
app/packages/looker/src/util.ts#L461
ReferenceError: Worker is not defined
❯ Module.createWorker packages/looker/src/util.ts:461:5
❯ packages/looker/src/lookers/abstract.ts:61:5
❯ packages/looker/src/lookers/abstract.ts:60:25
❯ packages/looker/src/lookers/abstract.ts:66:1
|
Run:
app/packages/state/src/recoil/utils.ts#L17
Error: [vitest] No "determinePathType" export is defined on the "@fiftyone/utilities" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock("@fiftyone/utilities", async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Module.getSampleSrc packages/state/src/recoil/utils.ts:17:7
❯ Module.decodeOverlayOnDisk packages/looker/src/worker/disk-overlay-decoder.ts:61:27
❯ packages/looker/src/worker/disk-overlay-decoder.test.ts:78:11
|
Run:
app/packages/state/src/recoil/utils.ts#L17
Error: [vitest] No "determinePathType" export is defined on the "@fiftyone/utilities" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock("@fiftyone/utilities", async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Module.getSampleSrc packages/state/src/recoil/utils.ts:17:7
❯ Module.decodeOverlayOnDisk packages/looker/src/worker/disk-overlay-decoder.ts:61:27
❯ packages/looker/src/worker/disk-overlay-decoder.test.ts:114:11
|
Run:
app/packages/state/src/recoil/utils.ts#L17
Error: [vitest] No "determinePathType" export is defined on the "@fiftyone/utilities" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock("@fiftyone/utilities", async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Module.getSampleSrc packages/state/src/recoil/utils.ts:17:7
❯ decodeOverlayOnDisk packages/looker/src/worker/disk-overlay-decoder.ts:61:27
❯ Module.decodeOverlayOnDisk packages/looker/src/worker/disk-overlay-decoder.ts:35:9
❯ packages/looker/src/worker/disk-overlay-decoder.test.ts:166:11
|
Run:
app/packages/state/src/recoil/utils.ts#L17
Error: [vitest] No "determinePathType" export is defined on the "@fiftyone/utilities" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock("@fiftyone/utilities", async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Module.getSampleSrc packages/state/src/recoil/utils.ts:17:7
❯ Module.decodeOverlayOnDisk packages/looker/src/worker/disk-overlay-decoder.ts:61:27
❯ packages/looker/src/worker/disk-overlay-decoder.test.ts:200:11
|
Run:
app/packages/looker/src/util.ts#L461
ReferenceError: Worker is not defined
❯ Module.createWorker packages/looker/src/util.ts:461:5
❯ packages/looker/src/lookers/abstract.ts:61:5
❯ packages/looker/src/lookers/abstract.ts:60:25
❯ packages/looker/src/lookers/abstract.ts:66:1
|
Run:
app/packages/looker/src/util.ts#L461
ReferenceError: Worker is not defined
❯ Module.createWorker packages/looker/src/util.ts:461:5
❯ packages/looker/src/lookers/abstract.ts:61:5
❯ packages/looker/src/lookers/abstract.ts:60:25
❯ packages/looker/src/lookers/abstract.ts:66:1
|
Run:
app/packages/looker/src/util.ts#L461
ReferenceError: Worker is not defined
❯ Module.createWorker packages/looker/src/util.ts:461:5
❯ packages/looker/src/lookers/abstract.ts:61:5
❯ packages/looker/src/lookers/abstract.ts:60:25
❯ packages/looker/src/lookers/abstract.ts:66:1
|
Run:
app/packages/looker/src/util.ts#L461
ReferenceError: Worker is not defined
❯ Module.createWorker packages/looker/src/util.ts:461:5
❯ packages/looker/src/lookers/abstract.ts:61:5
❯ packages/looker/src/lookers/abstract.ts:60:25
❯ packages/looker/src/lookers/abstract.ts:66:1
|
Run:
app/packages/looker/src/util.ts#L461
ReferenceError: Worker is not defined
❯ Module.createWorker packages/looker/src/util.ts:461:5
❯ packages/looker/src/lookers/abstract.ts:61:5
❯ packages/looker/src/lookers/abstract.ts:60:25
❯ packages/looker/src/lookers/abstract.ts:66:1
|
Loading