Skip to content

Commit

Permalink
Use new adapter setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Mulholland committed Oct 2, 2023
1 parent 44c06bc commit adfdca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useNotifications.test.ts
Expand Up @@ -9,7 +9,7 @@ import { mockedUser } from '../__mocks__/mockedData';

describe('hooks/useNotifications.ts', () => {
beforeEach(() => {
axios.defaults.adapter = require('axios/lib/adapters/http');
axios.defaults.adapter = 'http';
});

describe('fetchNotifications', () => {
Expand Down

0 comments on commit adfdca3

Please sign in to comment.