Fix repo_binary_viewer_spec

上级 b663a1fc
......@@ -40,7 +40,7 @@ describe('RepoBinaryViewer', () => {
Store.activeFile = activeFile;
const vm = createComponent();
expect(vm.$el.querySelector(':scope > div')).toEqual(activeFile.html);
expect(vm.$el.querySelector(':scope > div').innerHTML).toEqual(activeFile.html);
});
it('does not render if no binary', () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册