Closed neilbmclaughlin closed 7 years ago
Are there specific examples where this is a problem?
I accept the returned value from isOpen()
is going to vary based on now()
but this is easily handled by using orgs that are either open all day or closed all day. Here I am specifically talking about the code in app/lib/getPharmacies.js
This is possible within the api app and was introduced in nhsuk/nearby-services-api#43 Closing
Need to address this by having a mechanism to mock current time.