未验证 提交 fff2b4f6 编写于 作者: P Phil Hughes

fixed spec

上级 23a7c389
......@@ -348,6 +348,7 @@ describe('RepoEditor', () => {
});
it('calls removePendingTab when old file is pending', done => {
spyOnProperty(vm, 'shouldHideEditor').and.returnValue(true);
spyOn(vm, 'removePendingTab');
vm.file.pending = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册