Commit f2bf23fe authored by Phil Hughes's avatar Phil Hughes

fixed spec with checking cached events

parent e8221b47
...@@ -222,7 +222,7 @@ describe('RepoEditor', () => { ...@@ -222,7 +222,7 @@ describe('RepoEditor', () => {
vm.setupEditor(); vm.setupEditor();
expect(vm.editor.onPositionChange).toHaveBeenCalled(); 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 => { it('updates state when model content changed', done => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment