From 3fbd7d3a8c7dc9bb38bc507ea04ba92fe000bbb6 Mon Sep 17 00:00:00 2001 From: spalger Date: Mon, 27 Apr 2020 18:11:06 -0700 Subject: [PATCH] mock angular-sanitize in jest tests --- src/legacy/ui/public/i18n/index.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/legacy/ui/public/i18n/index.test.tsx b/src/legacy/ui/public/i18n/index.test.tsx index c7a778ac18bd37..744e0a27b1dbf1 100644 --- a/src/legacy/ui/public/i18n/index.test.tsx +++ b/src/legacy/ui/public/i18n/index.test.tsx @@ -21,6 +21,7 @@ import { render } from 'enzyme'; import PropTypes from 'prop-types'; import React from 'react'; +jest.mock('angular-sanitize'); jest.mock('ui/new_platform', () => ({ npStart: { core: {