diff --git a/test/interceptors/stale-if-error.test.ts b/test/interceptors/stale-if-error.test.ts index 8017a838..9edf61f8 100644 --- a/test/interceptors/stale-if-error.test.ts +++ b/test/interceptors/stale-if-error.test.ts @@ -406,7 +406,7 @@ describe('StaleIfError handling', () => { // https://github.com/arthurfiorette/axios-cache-interceptor/issues/685 it('ensure failed responses always cleans up waiting promise', async () => { - const axios = mockAxios({ staleIfError: false, ttl: -1, debug: console.log }); + const axios = mockAxios({ staleIfError: false, ttl: -1 }); axios.defaults.adapter = async (config) => { if (config.params?.fail) {