Skip to content

Commit

Permalink
Use uuid for booking ref to let the test pass on each run
Browse files Browse the repository at this point in the history
  • Loading branch information
shintre committed Aug 5, 2024
1 parent 3d08ca0 commit edd270b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ describe('search tests', () => {
expect(availabilityKey).toBeTruthy();
});
let booking;
// const reference = faker.datatype.uuid();
const bookingRefId = faker.datatype.uuid();
it('should be able to create a booking', async () => {
const fullName = faker.name.findName().split(' ');
const retVal = await app.createBooking({
Expand Down

0 comments on commit edd270b

Please sign in to comment.