mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
This commit is contained in:
parent
93b452e9c0
commit
e30318eb66
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
|
||||
import { mount, shallow } from 'enzyme';
|
||||
import { mountWithIntl, shallowWithIntl } from 'test_utils/enzyme_helpers';
|
||||
import React from 'react';
|
||||
|
||||
import { Overrides } from './overrides';
|
||||
|
@ -26,7 +26,7 @@ describe('Overrides', () => {
|
|||
test('render overrides', () => {
|
||||
const props = getProps();
|
||||
|
||||
const component = shallow(
|
||||
const component = shallowWithIntl(
|
||||
<Overrides {...props} />
|
||||
);
|
||||
|
||||
|
@ -40,7 +40,7 @@ describe('Overrides', () => {
|
|||
const props = getProps();
|
||||
props.overrides.format = FORMAT_1;
|
||||
|
||||
const component = mount(
|
||||
const component = mountWithIntl(
|
||||
<Overrides {...props} />
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue