Jestify api spec
This commit is contained in:
parent
00c8264faf
commit
2bf5135af3
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ describe('Api', () => {
|
||||||
dummyProjectPath,
|
dummyProjectPath,
|
||||||
)}/repository/branches`;
|
)}/repository/branches`;
|
||||||
|
|
||||||
spyOn(axios, 'post').and.callThrough();
|
jest.spyOn(axios, 'post');
|
||||||
|
|
||||||
mock.onPost(expectedUrl).replyOnce(200, {
|
mock.onPost(expectedUrl).replyOnce(200, {
|
||||||
name: branch,
|
name: branch,
|
Loading…
Reference in a new issue