Skip to content

Commit

Permalink
Comment for intent of document body click
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman committed Jun 15, 2022
1 parent 1cb8978 commit f448bc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/input-control/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ describe( 'InputControl', () => {
const input = getInput();

await user.type( input, ' now' );
// Clicking document.body to trigger a blur event on the input.
await user.click( document.body );

expect( spyChange ).toHaveBeenLastCalledWith( 'this is meow' );
Expand Down

0 comments on commit f448bc6

Please sign in to comment.