tests: removed console debug

This commit is contained in:
Arthur Fiorette 2023-10-23 12:44:26 -03:00
parent 277ffa6233
commit 356ec36e4a
No known key found for this signature in database
GPG Key ID: 79FA8EC214FA0233

View File

@ -406,7 +406,7 @@ describe('StaleIfError handling', () => {
// https://github.com/arthurfiorette/axios-cache-interceptor/issues/685 // https://github.com/arthurfiorette/axios-cache-interceptor/issues/685
it('ensure failed responses always cleans up waiting promise', async () => { 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) => { axios.defaults.adapter = async (config) => {
if (config.params?.fail) { if (config.params?.fail) {