Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
createGcObserver.mockReturnValue(jest.fn(observeGc));
createRequestRecorder.mockReturnValue(jest.fn(recordRequest));
plugin = createPlugin();
});
beforeEach(() => {
createGcObserver.mockReturnValue(jest.fn(observeGc));
createRequestRecorder.mockReturnValue(jest.fn(recordRequest));
middleware = createMiddleware();
});