From 356ec36e4a7a691839703bfd83af3fc456e65bf4 Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Mon, 23 Oct 2023 12:44:26 -0300 Subject: [PATCH] tests: removed console debug --- test/interceptors/stale-if-error.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {