diff --git a/blocks/editable/test/index.js b/blocks/editable/test/index.js
index d00e2544b980c2..b5b1b0ffa2ae59 100644
--- a/blocks/editable/test/index.js
+++ b/blocks/editable/test/index.js
@@ -27,6 +27,26 @@ describe( 'Editable', () => {
} );
} );
} );
+ describe( '.getSettings', () => {
+ const value = [ 'Hi!' ];
+ const settings = {
+ setting: 'hi',
+ };
+
+ test( 'should return expected settings', () => {
+ const wrapper = shallow( );
+ expect( wrapper.instance().getSettings( settings ) ).toEqual( {
+ setting: 'hi',
+ forced_root_block: false,
+ } );
+ } );
+
+ test( 'should be overriden', () => {
+ const mock = jest.fn().mockImplementation( () => 'mocked' );
+
+ expect( shallow( ).instance().getSettings( settings ) ).toEqual( 'mocked' );
+ } );
+ } );
} );
describe( '.propTypes', () => {
/* eslint-disable no-console */