Closed Dustin-Mikusko closed 4 years ago
This PR creates a testing endpoint for the Front End to use without creating so many reports for Denver.
In lib/routes.js, theres a new endpoint /api/v1/test/reports which simulates the actual reports endpoint.
lib/routes.js
/api/v1/test/reports
I used Puppeteer to try to simulate the process as much as possible. I add a 10 second setTimeout to make it stall to help the front end with timing
Closes #37
What does this PR do?
This PR creates a testing endpoint for the Front End to use without creating so many reports for Denver.
Where should the reviewer start?
In
lib/routes.js
, theres a new endpoint/api/v1/test/reports
which simulates the actual reports endpoint.Background Info
I used Puppeteer to try to simulate the process as much as possible. I add a 10 second setTimeout to make it stall to help the front end with timing
Issues
Closes #37