Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 709 Bytes

mocks.md

File metadata and controls

12 lines (8 loc) · 709 Bytes

Mock Reservations

yarn dev --mocks # Run development mode with mock reservation data
yarn hot --mocks # Run development mode with hot-reloading and mock reservation data

For testing purposes, mock data can be dynamically generated to simulate meeting reservations.

Mock reservations for the current day are automatically generated for each device present in devices.json. Simulated meeting reservations start at 9:00AM local time, with randomized gaps of 30 minutes (uncommon) to 90 minutes (rare) between different reservations.

mock-data.json is only regenerated if the file is deleted or if the mock meeting reservations' start- and end-times no longer take place on the current day.