From 24ceae6f7a01ad5fc8e0765a68f159e016567ba1 Mon Sep 17 00:00:00 2001 From: Anan <79961084+ananzh@users.noreply.github.com> Date: Wed, 23 Jun 2021 22:58:21 -0700 Subject: [PATCH] [Test] Enable unit test suite: render_opt_in_banner.test.ts (#503) (#505) All the unit tests related to unused telemetry are temporarily skipped after the fork. Unit tests of the disabled telemetry functions should also be modified correspondingly. To build a clean unit test, we decide to modify and enable all the working unit tests. This PR modifies and enables render_opt_in_banner.test.ts. Signed-off-by: Anan Zhuang --- .../telemetry_notifications/render_opt_in_banner.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.test.ts b/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.test.ts index 8f6f8a8b84f..a2143ca0b9e 100644 --- a/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.test.ts +++ b/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_banner.test.ts @@ -34,7 +34,7 @@ import { renderOptInBanner } from './render_opt_in_banner'; // eslint-disable-next-line @osd/eslint/no-restricted-paths import { overlayServiceMock } from '../../../../../core/public/overlays/overlay_service.mock'; -describe.skip('renderOptInBanner', () => { +describe('renderOptInBanner', () => { it('adds a banner to banners with priority of 10000', () => { const bannerID = 'brucer-wayne'; const overlays = overlayServiceMock.createStartContract();