Skip to content

Commit

Permalink
Fix jest collection modal test to be more flexible, allowing title co…
Browse files Browse the repository at this point in the history
…ntent variability
  • Loading branch information
dannon authored and ahmedhamidawan committed Nov 21, 2024
1 parent 3f99004 commit 89101b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Collections/common/modal.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe("modal.js", () => {
it("should create showEl and resolve oncreate", async () => {
expect(showOptions).toBe(null);
showEl();
expect(showOptions.title).toEqual("Create a collection");
expect(showOptions.title).toContain("Create a collection");

expect(hidden).toBeFalsy();
options.oncreate(null, "testres");
Expand Down

0 comments on commit 89101b0

Please sign in to comment.