Skip to content

Commit

Permalink
[Test] Enable unit test suite: render_opt_in_banner.test.ts (opensear…
Browse files Browse the repository at this point in the history
…ch-project#503) (opensearch-project#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 <ananzh@amazon.com>
  • Loading branch information
ananzh committed Jun 24, 2021
1 parent e6c5f9e commit 24ceae6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 24ceae6

Please sign in to comment.