From d4623ea989c86f55796a254e45cf3098cbc5c5c6 Mon Sep 17 00:00:00 2001 From: Natanael Filho Date: Sun, 8 Sep 2024 22:03:16 -0300 Subject: [PATCH] adding tests --- test/components/studio/editJourney.form.test.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/components/studio/editJourney.form.test.tsx diff --git a/test/components/studio/editJourney.form.test.tsx b/test/components/studio/editJourney.form.test.tsx new file mode 100644 index 0000000..989c399 --- /dev/null +++ b/test/components/studio/editJourney.form.test.tsx @@ -0,0 +1,9 @@ +import { JourneyForm } from '@/components/forms/journey.form'; +import { render } from '@testing-library/react'; + +describe('JourneyForm', () => { + it('deve renderizar o componente (teste falso)', () => { + render( {}} journey={{ _id: '1234', title: 'Jornada', description: 'Descrição' }} setDialog={() => {}} />); + expect(true).toBe(true); + }); +}); \ No newline at end of file