Skip to content

Commit

Permalink
Change "display mode" to "non-editing mode" in the description of `Ph…
Browse files Browse the repository at this point in the history
…oneNumberCard` tests.

Address: #2027 (comment)
  • Loading branch information
eason9487 committed Jul 31, 2023
1 parent 293df23 commit ca7ce02
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe( 'PhoneNumberCard', () => {
expect( button ).not.toBeInTheDocument();
} );

it( 'When `initEditing` is not specified, should render in display mode after loading a verified phone number', () => {
it( 'When `initEditing` is not specified, should render in non-editing mode after loading a verified phone number', () => {
mockLoaded( false );
const { rerender } = render(
<PhoneNumberCard phoneNumber={ phoneNumber } />
Expand Down Expand Up @@ -133,7 +133,7 @@ describe( 'PhoneNumberCard', () => {
expect( button ).toBeInTheDocument();
} );

it( 'When `initEditing` is false, should render in display mode regardless of verified or not', () => {
it( 'When `initEditing` is false, should render in non-editing mode regardless of verified or not', () => {
// Start with a verified and valid phone number
const { rerender } = render(
<PhoneNumberCard
Expand Down

0 comments on commit ca7ce02

Please sign in to comment.