Commit b1c8b3aa authored by Phil Hughes's avatar Phil Hughes

fixed axios mock not being restored

parent 4377b479
......@@ -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');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment