diff --git a/src/services/db.test.ts b/src/services/db.test.ts index 4a66a17..8bc5f83 100644 --- a/src/services/db.test.ts +++ b/src/services/db.test.ts @@ -765,7 +765,9 @@ describe("describePreparation (#390)", () => { "read a.db, then b.db" ); expect(withoutFolders("'C:\\a\\b.db' and 'C:\\Users\\Jean Dupont\\d.db'")).toBe("'b.db' and 'd.db'"); - // Past a `)`, the next path still ends the previous one (#478). + }); + + it("withoutFolders still ends a path at the next path past a `)` (#478)", () => { expect(withoutFolders("(see /home/marie claire/a.db) and C:\\Users\\Jean Dupont\\b.db")).toBe( "(see a.db) and b.db" );