The mock facilities currently access the environment variables to determine whether to add the facility end date values to the mock. In order to separate out the e2e tests with the feature flag on and off they need to be generated as a function & pass this env var in.
In the next PR the environment variable will not be accessed & the tests will be separated into two suites - ff on & ff off.
Introduction :pencil2:
The mock facilities currently access the environment variables to determine whether to add the facility end date values to the mock. In order to separate out the e2e tests with the feature flag on and off they need to be generated as a function & pass this env var in.
In the next PR the environment variable will not be accessed & the tests will be separated into two suites - ff on & ff off.
Resolution :heavy_check_mark: