Skip to content
Snippets Groups Projects
Unverified Commit b1c8b3aa authored by Phil Hughes's avatar Phil Hughes
Browse files

fixed axios mock not being restored

parent 4377b479
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -145,6 +145,10 @@ import timeoutPromise from './helpers/set_timeout_promise_helper';
mock.onPost(/(.*)\/notes$/).reply(200, noteEntity);
});
 
afterEach(() => {
mock.restore();
});
it('updates note and resets edit form', (done) => {
spyOn(this.notes, 'revertNoteEditForm');
spyOn(this.notes, 'setupNewNote');
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment