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 3, 2023
1 parent 344458b commit c381461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useNotifications.test.ts
Original file line number Diff line number Diff line change
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 c381461

Please sign in to comment.