mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 07:40:28 +00:00
fix assertions
This commit is contained in:
parent
ecc9c56f32
commit
571b308088
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue