Energinet-DataHub / greenforce-frontend

GreenForce monorepo for the DataHub and Energy Origin frontends. Part of Energinet DataHub.
Apache License 2.0
72 stars 13 forks source link

fix(dh): make feature flags fail again #3465

Closed dzhavat closed 2 weeks ago

dzhavat commented 2 weeks ago

Description

DataHub

Feature flags tests didn't fail because the difference between parsedDate and new Date() gave a negative number, which always satisfied the assertion. This PR fixes that.

References

nx-cloud[bot] commented 2 weeks ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit d9a9a44897c35706a7197d2f7cdbd7c260336c99. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets - [`nx run api-dh:build-client`](https://cloud.nx.app/runs/4kRsv776Zt?utm_source=pull-request&utm_medium=comment) - [`nx build app-dh`](https://cloud.nx.app/runs/Qu8gbQRsFs?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.