fix assertions

This commit is contained in:
Hayden 2024-02-25 16:01:06 -06:00
parent ecc9c56f32
commit 571b308088
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -188,8 +188,8 @@ describe("user should be able to create an item and add an attachment", () => {
const names = fullpath.map(p => p.name);
expect(names).toHaveLength(locations.length);
expect(names).toEqual(locations);
expect(names).toHaveLength(locations.length + 1);
expect(names).toEqual([...locations, item.name]);
cleanup();
});