setupRequestMockHandlers()
Home > @backstage/test-utils > setupRequestMockHandlers
Warning: This API is now obsolete.
Use
registerMswTestHooksfrom@backstage/test-utilsinstead.
Signature:
function setupRequestMockHandlers(worker: {
    listen: (t: any) => void;
    close: () => void;
    resetHandlers: () => void;
}): void;
Parameters
| 
 Parameter  | 
 Type  | 
 Description  | 
|---|---|---|
| 
 worker  | 
 { listen: (t: any) => void; close: () => void; resetHandlers: () => void; }  | 
void