mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
test(web): fix new lint failure
This commit is contained in:
parent
ee3fa37bc3
commit
4d0f126996
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue