Skip to content

Commit

Permalink
Update reducer unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Aug 9, 2019
1 parent ed27fbc commit 06b078e
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 170 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/store/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ export function isCaretWithinFormattedText( state = false, action ) {
*
* @return {Object} Updated state.
*/
function selection( state = {}, action ) {
export function selection( state = {}, action ) {
switch ( action.type ) {
case 'CLEAR_SELECTED_BLOCK': {
if ( state.clientId ) {
Expand Down
Loading

0 comments on commit 06b078e

Please sign in to comment.