fixed spec with checking cached events
This commit is contained in:
parent
e8221b47ac
commit
f2bf23feb9
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ describe('RepoEditor', () => {
|
|||
vm.setupEditor();
|
||||
|
||||
expect(vm.editor.onPositionChange).toHaveBeenCalled();
|
||||
expect(vm.model.events.size).toBe(1);
|
||||
expect(vm.model.events.size).toBe(2);
|
||||
});
|
||||
|
||||
it('updates state when model content changed', done => {
|
||||
|
|
Loading…
Reference in a new issue