Refactor afterEach to automatically clean up channels and DEBUG