You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
The behaviour of the app changes depending on the time of day, specifically in or out of business hours. The behaviour change is which view is presented for the results page - nearby or nearby + open. During business hours the default view is nearby and outside business hours the default view is nearby + open.The tests fail because the nock's are set up with an assumption of the in business hours default view and therefore what the form of the query to azure search will be to mock.
Two possible solutions are:
explicitly set the open query parameter to not rely on the default behaviour
fix time using the override env var DATETIME (see README usage) for the tests which do not set the open parameter.
The text was updated successfully, but these errors were encountered:
The behaviour of the app changes depending on the time of day, specifically in or out of business hours. The behaviour change is which view is presented for the results page - nearby or nearby + open. During business hours the default view is nearby and outside business hours the default view is nearby + open.The tests fail because the nock's are set up with an assumption of the in business hours default view and therefore what the form of the query to azure search will be to mock.
Two possible solutions are:
open
query parameter to not rely on the default behaviouropen
parameter.The text was updated successfully, but these errors were encountered: