mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
tests: removed console debug
This commit is contained in:
parent
277ffa6233
commit
356ec36e4a
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user