Merge branch 'winh-sidebar-mock-fix' into 'master'
Add missing tear down of sidebarMockInterceptor Closes #32020 See merge request !11204
This commit is contained in:
commit
010a349710
|
@ -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', () => {
|
||||
|
|
|
@ -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 ', () => {
|
||||
|
|
|
@ -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…
Reference in New Issue