mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
The previous check would return `false` if the value was 0, causing a bug where the usage data wouldn't be included. This also adds tests to ensure that usage data for CR segments is propagated correctly because that's where I first encountered the issue. Before this fix, if the values were 0, the data would display like the bottom element in the screenshot:  |
||
|---|---|---|
| .. | ||
| api | ||
| helpers | ||
| routes | ||
| seed | ||
| services | ||
| stores | ||
| custom-auth.test.ts | ||
| dedupe-permissions.e2e.test.ts | ||
| health.e2e.test.ts | ||
| migrator.e2e.test.ts | ||