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 11, 2024
1 parent 03bdb31 commit 41d105d
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 41d105d

Please sign in to comment.