Lines 16-18
describe("Generate Random Patrons", () => {
Link Here
|
16 |
}); |
16 |
}); |
17 |
}); |
17 |
}); |
18 |
}); |
18 |
}); |
|
|
19 |
|
20 |
describe("Generate Random Library", () => { |
21 |
it("should generate a random library from the schema", () => { |
22 |
cy.task("buildSampleLibrary").then(mockLibrary => { |
23 |
expect(mockLibrary).to.have.property("library_id"); |
24 |
}); |
25 |
}); |
26 |
}); |
27 |
|
28 |
describe("Generate Random Libraries", () => { |
29 |
it("should generate 42 random library from the schema", () => { |
30 |
cy.task("buildSampleLibraries", 42).then(mockLibraries => { |
31 |
expect(mockLibraries.length).to.equal(42); |
32 |
expect(mockLibraries[0]).to.have.property("library_id"); |
33 |
}); |
34 |
}); |
35 |
}); |