diff --git a/src/Components/Input/TextInput.spec.tsx b/src/Components/Input/TextInput.spec.tsx index 49b90d34..95035b42 100644 --- a/src/Components/Input/TextInput.spec.tsx +++ b/src/Components/Input/TextInput.spec.tsx @@ -6,6 +6,6 @@ import { TextInput } from './TextInput' describe('', () => { it('renders properly', () => { const wrapper = render() - expect(wrapper).toBeTruthy() + expect(wrapper.container.firstChild).toMatchSnapshot() }) }) diff --git a/src/Components/Input/__snapshots__/TextInput.spec.tsx.snap b/src/Components/Input/__snapshots__/TextInput.spec.tsx.snap new file mode 100644 index 00000000..cd4f09a0 --- /dev/null +++ b/src/Components/Input/__snapshots__/TextInput.spec.tsx.snap @@ -0,0 +1,15 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[` > renders properly 1`] = ` +
+ +
+`;