Fix one inspector test (#20072)

This commit is contained in:
Tim Roes 2018-06-20 14:11:53 +02:00 committed by GitHub
parent 2885e871e3
commit 9f1fd9b93c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
*/
import React from 'react';
import { mount, shallow } from 'enzyme';
import { mount } from 'enzyme';
import { InspectorPanel } from './inspector_panel';
describe('InspectorPanel', () => {
@ -70,7 +70,7 @@ describe('InspectorPanel', () => {
});
it('should not allow updating adapters', () => {
const component = shallow(
const component = mount(
<InspectorPanel
adapters={adapters}
onClose={() => true}