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

fixed mock URL that was causing request to fail

上级 2ec6a7e1
......@@ -95,7 +95,7 @@ describe('RepoEditor', () => {
vm.file.content = 'testing 123';
vm.$store.state.viewer = 'diff';
mock.onPost('/namespace/project/preview_markdown').reply(200, {
mock.onPost(/(.*)\/preview_markdown/).reply(200, {
body: '<p>testing 123</p>',
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册