Browse Source

Fix more tests

pull/3229/head
Artur Arseniev 6 years ago
parent
commit
caf9772949
  1. 5
      test/specs/commands/view/Preview.js
  2. 2
      test/specs/parser/model/ParserHtml.js
  3. 2
      test/specs/storage_manager/model/Models.js

5
test/specs/commands/view/Preview.js

@ -28,6 +28,10 @@ describe('Preview command', () => {
})
},
select: jest.fn(),
getSelectedAll: jest.fn().mockReturnValue([]),
Commands: {
isActive: jest.fn(() => fakeIsActive)
},
@ -39,7 +43,6 @@ describe('Preview command', () => {
Preview.panels = undefined;
Preview.shouldRunSwVisibility = undefined;
spyOn(Preview, 'tglPointers');
});
describe('.getPanels', () => {

2
test/specs/parser/model/ParserHtml.js

@ -313,7 +313,7 @@ describe('ParserHtml', () => {
{
tagName: 'div',
type: 'text',
components: { type: 'textnode', content: 'nexted' }
components: { type: 'textnode', content: 'nested' }
},
{
tagName: '',

2
test/specs/storage_manager/model/Models.js

@ -1,4 +1,4 @@
import 'whatwg-fetch';
// import 'whatwg-fetch';
import LocalStorage from 'storage_manager/model/LocalStorage';
import RemoteStorage from 'storage_manager/model/RemoteStorage';

Loading…
Cancel
Save