fixed mock URL that was causing request to fail
This commit is contained in:
parent
2ec6a7e101
commit
d245b7233e
1 changed files with 1 additions and 1 deletions
|
@ -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>',
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue