Remove default request handler

parent c9b5990c
...@@ -34,12 +34,7 @@ describe('EE - DastSiteProfileList', () => { ...@@ -34,12 +34,7 @@ describe('EE - DastSiteProfileList', () => {
const createMockApolloProvider = handlers => { const createMockApolloProvider = handlers => {
localVue.use(VueApollo); localVue.use(VueApollo);
requestHandlers = handlers;
requestHandlers = {
dastSiteValidations: jest.fn().mockResolvedValue(responses.dastSiteValidations()),
...handlers,
};
return createApolloProvider([[dastSiteValidationsQuery, requestHandlers.dastSiteValidations]]); return createApolloProvider([[dastSiteValidationsQuery, requestHandlers.dastSiteValidations]]);
}; };
......
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