Skip to content

Commit b774ebc

Browse files
author
Mario De Fazio
committed
update test
1 parent d968654 commit b774ebc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pages/refundRequests/detail/__tests__/InvoiceDetail.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,7 @@ describe('InvoiceDetail', () => {
260260

261261
describe('Rendering Base', () => {
262262
it('renderizza titolo, label e valore base', () => {
263-
renderInvoiceDetail({ title: 'Dettaglio transazione' });
264-
265-
expect(screen.getByText('Dettaglio transazione')).toBeInTheDocument();
263+
renderInvoiceDetail();
266264
expect(screen.getByText('Elettrodomestico')).toBeInTheDocument();
267265
expect(screen.getByText('formatted-Prodotto di test')).toBeInTheDocument();
268266
expect(screen.getByText('Numero fattura')).toBeInTheDocument();

0 commit comments

Comments
 (0)