Skip to content

Commit

Permalink
tests: removed console debug
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Oct 23, 2023
1 parent 277ffa6 commit 356ec36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/interceptors/stale-if-error.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 356ec36

Please sign in to comment.