From 07d30382e3cf3647ee8ae07a024087b4e2b42f4f Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Fri, 28 Aug 2026 12:29:55 +0800 Subject: [PATCH] fix: unused binding in the funcall test (lint gate) --- test/imf.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/imf.test.ts b/test/imf.test.ts index 1385a52..fcccf0b 100644 --- a/test/imf.test.ts +++ b/test/imf.test.ts @@ -237,7 +237,6 @@ describe("registry", () => { writeFileSync(join(dir, "models.yaml"), "version: 1\nmodels: {}\n") process.env["SECRYST_INDEX"] = join(dir, "models.yaml") try { - const { transliterateAsync: run } = await import("../src/index.js") const map = { schemaVersion: 1, systemCode: "test-secryst-funcall", @@ -253,7 +252,7 @@ describe("registry", () => { functions: new Map(), } configure({ strategies: [(code: string) => (code === map.systemCode ? map : undefined)] }) - await expect(run("test-secryst-funcall", "abc")).rejects.toThrow( + await expect(transliterateAsync("test-secryst-funcall", "abc")).rejects.toThrow( /unknown model id 'nope-1.0'/, ) } finally {