Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
wnederhof committed Mar 13, 2024
1 parent 339761d commit a8b3bef
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Form } from '@components/Form'
import { render, screen, within } from '@testing-library/react'
import { render, screen } from '@testing-library/react'

describe('Form', () => {
it('renders form with fields', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { List } from '@components/List'
import { render, screen, within } from '@testing-library/react'
import { render, screen } from '@testing-library/react'

describe('List', () => {
it('renders the provided list', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,15 @@ Form.Integer = ({
...props
}: React.InputHTMLAttributes<HTMLInputElement>) => {
return (
<input type="number" {...props}>
{children}
</input>
<input type="number" {...props} />
)
}

Form.Date = ({
children,
...props
}: React.InputHTMLAttributes<HTMLInputElement>) => {
return (
<input type="date" {...props}>
{children}
</input>
<input type="date" {...props} />
)
}

Expand Down

0 comments on commit a8b3bef

Please sign in to comment.