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:
committed by
Scott Guymer
parent
9e4725f8f4
commit
2f52b12740
-8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user