diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2019-05-24 13:12:03 -0500 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2019-05-30 21:00:53 -0500 |
commit | 2bf5135af31a2ff133f3682f59323954458cc2c3 (patch) | |
tree | 929e02e37b5510b633a6098310837ee578ac1f5d | |
parent | 00c8264faf6e02f741240b5c430cebcebd730280 (diff) | |
download | gitlab-ce-2bf5135af31a2ff133f3682f59323954458cc2c3.tar.gz |
Jestify api spec
-rw-r--r-- | spec/frontend/api_spec.js (renamed from spec/javascripts/api_spec.js) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/api_spec.js b/spec/frontend/api_spec.js index 805bb10bda6..13615be1f27 100644 --- a/spec/javascripts/api_spec.js +++ b/spec/frontend/api_spec.js @@ -459,7 +459,7 @@ describe('Api', () => { dummyProjectPath, )}/repository/branches`; - spyOn(axios, 'post').and.callThrough(); + jest.spyOn(axios, 'post'); mock.onPost(expectedUrl).replyOnce(200, { name: branch, |