Skip to content

Commit

Permalink
corrige teste
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoAPS committed Nov 21, 2023
1 parent 4d0a947 commit 4a2a23e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/__tests__/cadastrarIdoso.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ describe('CadastrarIdoso component', () => {

const { getByText } = render(<CadastrarIdoso />);

// You can add more specific queries based on your UI
const saveButton = getByText('Salvar');
expect(saveButton).toBeTruthy();
const cadastrarButton = getByText('Cadastrar');
expect(cadastrarButton).toBeTruthy();
});
});

0 comments on commit 4a2a23e

Please sign in to comment.