Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Aram <[email protected]>
  • Loading branch information
VincentSmedinga and alimpens authored Jun 21, 2024
1 parent fbef83b commit ff19cca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/DateInput/DateInput.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('Date input', () => {

describe('Type', () => {
dateInputTypes.map((type) =>
it(`passes on the ‘${type}’ type`, () => {
it(`sets the ‘${type}’ type`, () => {
const { container } = render(<DateInput type={type} />)

const component = container.querySelector(':only-child')
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/TextInput/TextInput.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('Text input', () => {
textInputTypes
.filter((type) => type !== 'password')
.map((type) =>
it(`passes on the ‘${type}’ type`, () => {
it(`sets the ‘${type}’ type`, () => {
render(<TextInput type={type} />)

const component = screen.getByRole('textbox')
Expand All @@ -132,7 +132,7 @@ describe('Text input', () => {
)

// https://github.com/testing-library/dom-testing-library/issues/567
it(`passes on the ‘password’ type`, () => {
it('sets the ‘password’ type', () => {
render(
<>
<Label htmlFor="password-field">Password</Label>
Expand Down

0 comments on commit ff19cca

Please sign in to comment.