Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

test(create): the cutout line check spells its dashes as escapes

purple3087092b8d18
diff --git a/src/api/__tests__/cutout-model.test.ts b/src/api/__tests__/cutout-model.test.ts
index c3eb9632..2e314f9c 100644
--- a/src/api/__tests__/cutout-model.test.ts
+++ b/src/api/__tests__/cutout-model.test.ts
@@ -74,6 +74,6 @@ describe('cutoutDownloadLine', () => {
expect(await cutoutDownloadLine('RMBG-2.0')).toBeNull()
})
it('carries no dash', () => {
- expect(LINE).not.toMatch(/[–—]/)
+ expect(LINE).not.toMatch(/[\u2013\u2014]/)
})
})