Lines 74-77
describe("Generate objects", () => {
Link Here
|
74 |
); |
74 |
); |
75 |
}); |
75 |
}); |
76 |
}); |
76 |
}); |
|
|
77 |
|
78 |
it.only("should not overwrite _id if passed", () => { |
79 |
const home_library_id = "LIB4TEST"; |
80 |
cy.task("buildSampleObject", { |
81 |
object: "item", |
82 |
values: { home_library_id }, |
83 |
}).then(mockItem => { |
84 |
expect(mockItem.home_library_id).to.equal(home_library_id); |
85 |
}); |
86 |
}); |
77 |
}); |
87 |
}); |
78 |
- |
|
|