Skip to content

Commit 0c647d6

Browse files
committed
test: pin DEFAULT_INDEX_URL to index-v6
1 parent 8465e86 commit 0c647d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/imf.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ describe("registry", () => {
259259
it("DEFAULT_INDEX_URL pins a GitHub Release asset, never raw", async () => {
260260
const { DEFAULT_INDEX_URL } = await import("../src/ml/imf/registry.js")
261261
expect(DEFAULT_INDEX_URL).toMatch(
262-
/^https:\/\/github\.com\/interscript\/interscript-ml\/releases\/download\/index-v5\/models-index\.yaml$/,
262+
/^https:\/\/github\.com\/interscript\/interscript-ml\/releases\/download\/index-v6\/models-index\.yaml$/,
263263
)
264264
expect(DEFAULT_INDEX_URL).not.toMatch(/raw\.githubusercontent/)
265265
})
@@ -367,7 +367,7 @@ describe("registry", () => {
367367
expect(typeof imf!["resolve"]).toBe("function")
368368
expect(typeof imf!["IMFModel"]).toBe("function")
369369
expect(imf!["DEFAULT_INDEX_URL"]).toMatch(
370-
/github\.com\/interscript\/interscript-ml\/releases\/download\/index-v5\/models-index\.yaml/,
370+
/github\.com\/interscript\/interscript-ml\/releases\/download\/index-v6\/models-index\.yaml/,
371371
)
372372
})
373373
})

0 commit comments

Comments
 (0)