Lines 20-25
describe("Generate Random Patron", () => {
Link Here
|
20 |
); |
20 |
); |
21 |
}); |
21 |
}); |
22 |
}); |
22 |
}); |
|
|
23 |
|
24 |
it("should not overwrite _id if passed", () => { |
25 |
const home_library_id = "LIB4TEST"; |
26 |
cy.task("buildSampleObject", { |
27 |
object: "item", |
28 |
values: { home_library_id }, |
29 |
}).then(mockItem => { |
30 |
expect(mockItem.home_library_id).to.equal(home_library_id); |
31 |
}); |
32 |
}); |
23 |
}); |
33 |
}); |
24 |
|
34 |
|
25 |
describe("Generate Random Patrons", () => { |
35 |
describe("Generate Random Patrons", () => { |