Skip to content

Commit

Permalink
Edit Post: enable fake timers where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Dec 22, 2022
1 parent 8ada1e8 commit de83afc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
CustomFieldsConfirmation,
} from '../enable-custom-fields';

jest.useFakeTimers();

describe( 'EnableCustomFieldsOption', () => {
it( 'renders a checked checkbox when custom fields are enabled', () => {
const { container } = render(
Expand Down

0 comments on commit de83afc

Please sign in to comment.