UK-Export-Finance / dtfs2

Digital Trade Finance
MIT License
11 stars 1 forks source link

chore(DTFS2-7392): refactor mock facilities into functions #3543

Closed MarRobSoftwire closed 1 month ago

MarRobSoftwire commented 1 month ago

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:

sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
49.3% Duplication on New Code (required ≤ 40%)

See analysis details on SonarCloud