fixed spec with checking cached events

This commit is contained in:
Phil Hughes 2018-04-11 13:10:12 +01:00
parent e8221b47ac
commit f2bf23feb9
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

@ -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 => {