Skip to content

Commit

Permalink
Update test case name
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam committed Aug 12, 2024
1 parent b68bb41 commit 6c64b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('<WorkspaceDescriptionField />', () => {
expect(onChangeMock).not.toHaveBeenCalled();
});

it('should render the correct number of characters left when value is falsy', () => {
it('should render the correct number of characters left when value is empty', () => {
render(<WorkspaceDescriptionField value={undefined} onChange={jest.fn()} />);

const helpText = screen.getByText(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('<WorkspaceNameField />', () => {
expect(onChangeMock).not.toHaveBeenCalled();
});

it('should render the correct number of characters left when value is falsy', () => {
it('should render the correct number of characters left when value is empty', () => {
render(<WorkspaceNameField value={undefined} onChange={jest.fn()} />);

const helpText = screen.getByText(
Expand Down

0 comments on commit 6c64b17

Please sign in to comment.