Skip to content

Commit 07d3038

Browse files
committed
fix: unused binding in the funcall test (lint gate)
1 parent 6ed5aeb commit 07d3038

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎test/imf.test.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ describe("registry", () => {
237237
writeFileSync(join(dir, "models.yaml"), "version: 1\nmodels: {}\n")
238238
process.env["SECRYST_INDEX"] = join(dir, "models.yaml")
239239
try {
240-
const { transliterateAsync: run } = await import("../src/index.js")
241240
const map = {
242241
schemaVersion: 1,
243242
systemCode: "test-secryst-funcall",
@@ -253,7 +252,7 @@ describe("registry", () => {
253252
functions: new Map(),
254253
}
255254
configure({ strategies: [(code: string) => (code === map.systemCode ? map : undefined)] })
256-
await expect(run("test-secryst-funcall", "abc")).rejects.toThrow(
255+
await expect(transliterateAsync("test-secryst-funcall", "abc")).rejects.toThrow(
257256
/unknown model id 'nope-1.0'/,
258257
)
259258
} finally {

0 commit comments

Comments
 (0)