Skip to content

Commit

Permalink
Fix a11y tests for restructred package
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Sep 10, 2024
1 parent a3c7926 commit d49068e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions packages/a11y/src/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ import domReady from '@wordpress/dom-ready';
* Internal dependencies
*/
import { setup, speak } from '../';
import clear from '../clear';
import filterMessage from '../filter-message';
import clear from '../shared/clear';
import filterMessage from '../shared/filter-message';

jest.mock( '../clear', () => {
jest.mock( '../shared/clear', () => {
return jest.fn();
} );
jest.mock( '@wordpress/dom-ready', () => {
return jest.fn( ( callback ) => {
callback();
} );
} );
jest.mock( '../filter-message', () => {
jest.mock( '../shared/filter-message', () => {
return jest.fn( ( message ) => {
return message;
} );
Expand Down

0 comments on commit d49068e

Please sign in to comment.