Skip to content

Commit

Permalink
Merge pull request #50 from ckeditor/lock-update
Browse files Browse the repository at this point in the history
Internal: Updated dependencies defined in the `yarn.lock` file. Also, changed renderer function from `mount()` to `shallow()` in tests of the `<InspectorUI />` component due to fails on the latest version of Chrome.
  • Loading branch information
jodator authored May 31, 2019
2 parents 61af8e0 + 2116152 commit f34c213
Show file tree
Hide file tree
Showing 2 changed files with 881 additions and 750 deletions.
8 changes: 4 additions & 4 deletions tests/inspector/components/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe( '<InspectorUI />', () => {
TestEditor.create( editor2Element )
] ).then( ( [ editor1, editor2 ] ) => {
editors = new Map( [ [ 'first', editor1 ], [ 'second', editor2 ] ] );
wrapper = mount(
wrapper = shallow(
<InspectorUI editors={editors} />,
{ attachTo: container }
);
Expand Down Expand Up @@ -70,7 +70,7 @@ describe( '<InspectorUI />', () => {
it( 'restores state#height from the storage and sets it to body', () => {
window.localStorage.setItem( 'ck5-inspector-height', '123px' );

const wrapper = mount(
const wrapper = shallow(
<InspectorUI editors={editors} />,
{ attachTo: container }
);
Expand All @@ -84,7 +84,7 @@ describe( '<InspectorUI />', () => {
it( 'restores state#isCollapsed from the storage', () => {
window.localStorage.setItem( 'ck5-inspector-is-collapsed', 'true' );

const wrapper = mount(
const wrapper = shallow(
<InspectorUI editors={editors} />,
{ attachTo: container }
);
Expand All @@ -97,7 +97,7 @@ describe( '<InspectorUI />', () => {
it( 'restores state#activeTab from the storage', () => {
window.localStorage.setItem( 'ck5-inspector-active-tab-name', 'Commands' );

const wrapper = mount(
const wrapper = shallow(
<InspectorUI editors={editors} />,
{ attachTo: container }
);
Expand Down
Loading

0 comments on commit f34c213

Please sign in to comment.