Skip to content

Commit

Permalink
Remove local mock, using the global styleMock.js instead
Browse files Browse the repository at this point in the history
  • Loading branch information
hypest committed Nov 7, 2019
1 parent e26a61b commit 0569a38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/block-library/src/missing/test/edit.native.js
Expand Up @@ -14,12 +14,6 @@ jest.mock( 'Platform', () => {
*/
import { BottomSheet, Icon } from '@wordpress/components';
jest.mock( '@wordpress/blocks' );
jest.mock( '../styles.scss', () => {
return {
infoIcon: { size: 32 },
unsupportedBlockIcon: { color: 'white' },
};
} );

/**
* Internal dependencies
Expand Down
3 changes: 3 additions & 0 deletions test/native/__mocks__/styleMock.js
Expand Up @@ -78,4 +78,7 @@ module.exports = {
infoIcon: {
size: 36,
},
infoSheetIcon: {
color: 'gray',
},
};

0 comments on commit 0569a38

Please sign in to comment.