Jestify api spec

This commit is contained in:
Paul Slaughter 2019-05-24 13:12:03 -05:00
parent 00c8264faf
commit 2bf5135af3
No known key found for this signature in database
GPG key ID: DF5690803C68282A

View file

@ -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,