Skip to content

Commit

Permalink
Add autosave mock function for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloercoli committed Sep 4, 2019
1 parent f210ff5 commit c6dd15c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/native/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jest.mock( 'react-native-gutenberg-bridge', () => {
subscribeUpdateHtml: jest.fn(),
subscribeMediaAppend: jest.fn(),
editorDidMount: jest.fn(),
editorDidAutosave: jest.fn(),
subscribeMediaUpload: jest.fn(),
requestMediaPickFromMediaLibrary: jest.fn(),
requestMediaPickFromDeviceLibrary: jest.fn(),
Expand Down

0 comments on commit c6dd15c

Please sign in to comment.