Skip to content
Snippets Groups Projects
Commit 010a3497 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Merge branch 'winh-sidebar-mock-fix' into 'master'

Add missing tear down of sidebarMockInterceptor

Closes #32020

See merge request !11204
parents ea5d43a3 75e61345
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -24,6 +24,7 @@ describe('sidebar assignees', () => {
SidebarService.singleton = null;
SidebarStore.singleton = null;
SidebarMediator.singleton = null;
Vue.http.interceptors = _.without(Vue.http.interceptors, Mock.sidebarMockInterceptor);
});
 
it('calls the mediator when saves the assignees', () => {
Loading
Loading
Loading
Loading
@@ -14,6 +14,7 @@ describe('Sidebar mediator', () => {
SidebarService.singleton = null;
SidebarStore.singleton = null;
SidebarMediator.singleton = null;
Vue.http.interceptors = _.without(Vue.http.interceptors, Mock.sidebarMockInterceptor);
});
 
it('assigns yourself ', () => {
Loading
Loading
Loading
Loading
@@ -10,6 +10,7 @@ describe('Sidebar service', () => {
 
afterEach(() => {
SidebarService.singleton = null;
Vue.http.interceptors = _.without(Vue.http.interceptors, Mock.sidebarMockInterceptor);
});
 
it('gets the data', (done) => {
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