Skip to content

Commit

Permalink
Fixing the jest
Browse files Browse the repository at this point in the history
  • Loading branch information
ananya-agarwal committed Mar 9, 2024
1 parent 59b9088 commit e5181cf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import userEvent from '@testing-library/user-event';
import huePubSub from '../../utils/huePubSub';

import AlertComponent from './AlertComponent';
jest.useFakeTimers(); // Enable fake timers

describe('AlertComponent', () => {
test('it should show a global error message', async () => {
Expand Down

0 comments on commit e5181cf

Please sign in to comment.