test(web): fix new lint failure

This commit is contained in:
Christian Clason 2026-07-25 17:55:54 +02:00 committed by Christian Clason
parent ee3fa37bc3
commit 4d0f126996

View file

@ -42,7 +42,7 @@ describe('Language', () => {
})) as unknown as typeof C.loadWebAssemblyModule;
try {
expect(() => Language.loadSync({} as WebAssembly.Module)).toThrow(
expect(() => Language.loadSync({})).toThrow(
'Language.loadSync failed: no language function found in Wasm file',
);
expect(log).toHaveBeenCalledWith(expect.stringContaining('not_a_language'));