Skip to content

Commit 0e1d26c

Browse files
committed
fix(tests): as we need to mock intl object when testing
1 parent 5faa308 commit 0e1d26c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/BlockStyleWrapper/BlockStyleWrapperEdit.test.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ describe('BlockStyleWrapperEdit', () => {
2525
textColor: 'blue',
2626
},
2727
},
28+
intl: {
29+
locale: 'en',
30+
messages: {},
31+
formatMessage: jest.fn(),
32+
},
2833
};
2934

3035
const initialState = {

0 commit comments

Comments
 (0)