[Test] Investigate console error in telemetry_service.test.ts #557
Labels
technical debt
If not paid, jeapardizes long-term success and maintainability of the repository.
test:unit
Describe the issue
Currently,
telemetry_service.test.ts
prints out console errors when run the unit test. To make a clean unit test, we want to explore the reasons for these errors/warnings and decide whether we could fix or remove them.To Reproduce
Run:
yarn test:jest {path to telemetry_service.test.ts}
Expected behavior
explore each problem unit test cases and investigate each question:
what causes the console error or issues?
should this unit test log this error or warning message?
if answer to the above question is no, then can we fix it?
The final output is expected to be a cleaned unit test with un-necessary error/warnings been removed.
OpenSearch Version
OpenSearch 1.0.0
Dashboards Version
Dashboards 1.0.0
The text was updated successfully, but these errors were encountered: