Remove cleanup calls as they are handled in the setup of msw

Signed-off-by: Scott Guymer <scott.guymer@philips.com>
This commit is contained in:
Scott Guymer
2022-12-07 17:13:11 +01:00
committed by Scott Guymer
parent 9e4725f8f4
commit 2f52b12740
@@ -95,14 +95,6 @@ describe('StackOverflowQuestionsCollatorFactory', () => {
const worker = setupServer();
setupRequestMockHandlers(worker);
afterEach(async () => {
worker.resetHandlers();
});
afterAll(async () => {
worker.close();
});
it('returns a readable stream', async () => {
const factory = StackOverflowQuestionsCollatorFactory.fromConfig(
config,