mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
fix errors that came by the docs typecheck
This commit is contained in:
parent
246e9333db
commit
2b0411a37c
@ -21,16 +21,12 @@ describe('<TextAreaInput />', () => {
|
||||
initialTags={[
|
||||
{
|
||||
color: '#b3242f',
|
||||
date_created: '2024-11-09T07:57:04',
|
||||
id: '03b41b63-4530-4754-95cf-0abf8f9db476',
|
||||
map: '3af4863a-7435-4487-aad9-146563ee8e02',
|
||||
name: 'Feuer',
|
||||
offer_or_need: null,
|
||||
user_created: null,
|
||||
},
|
||||
]}
|
||||
>
|
||||
<TextAreaInput updateFormValue={updateFormValue} />
|
||||
<TextAreaInput defaultValue={''} updateFormValue={updateFormValue} />
|
||||
</TagsProvider>,
|
||||
)
|
||||
})
|
||||
@ -48,7 +44,7 @@ describe('<TextAreaInput />', () => {
|
||||
|
||||
describe('labelTitle', () => {
|
||||
it('sets label', () => {
|
||||
wrapper.rerender(<TextAreaInput labelTitle='My Title' />)
|
||||
wrapper.rerender(<TextAreaInput defaultValue={''} labelTitle='My Title' />)
|
||||
expect(wrapper.container.firstChild).toMatchSnapshot()
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user