-
Notifications
You must be signed in to change notification settings - Fork 789
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(metrics_server): do not invalidate legacy report types (#1532)
* Check if `countries` is an array. * Use `VALID_REPORT` in `postConnectionMetrics` test. * Make realistic legacy reports and silently drop them during validation. * Add more explicit support for legacy report types. * Make diff smaller. * Update `@typescript-eslint/eslint-plugin` dependency. * Revert some changes. * Revert "Update `@typescript-eslint/eslint-plugin` dependency." This reverts commit a2f3edf. * Update test variables to improve readability. * Add back in `userId` tests. * Remove check that at least 1 of `userId` or `countries` is set. * Remove unneeded test.
- Loading branch information
Showing
3 changed files
with
117 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters