fix(image-pipeline): apply wasm/webgl lint hygiene cleanups

This commit is contained in:
Matthias
2026-04-04 23:06:43 +02:00
parent d10cb7ac8f
commit 86f487d0ef
3 changed files with 13 additions and 10 deletions

View File

@@ -326,13 +326,13 @@ describe("wasm backend fallback behavior", () => {
vi.stubGlobal("SharedArrayBuffer", undefined);
vi.stubGlobal("Worker", undefined);
const module: WasmKernelModule = {
const wasmModule: WasmKernelModule = {
applyPreviewStep: vi.fn(),
applyFullPipeline: vi.fn(),
};
const backend = createWasmSimdBackend({
loadModule: () => module,
loadModule: () => wasmModule,
});
expect(() => {
@@ -343,6 +343,6 @@ describe("wasm backend fallback behavior", () => {
height: 1,
});
}).not.toThrow();
expect(module.applyPreviewStep).toHaveBeenCalledTimes(1);
expect(wasmModule.applyPreviewStep).toHaveBeenCalledTimes(1);
});
});