import { App } from '@inertiajs/react'; import { renderToStaticMarkup } from 'react-dom/server'; import { expect, test } from 'vitest'; import Reconciliation from '@/components/import-estimate-reconciliation'; test('reconciliation exposes explicit source remainder and does not select a financial allocation automatically', () => { const html = renderToStaticMarkup( , ); expect(html).toContain('saldo 123.45 MZN'); expect(html).toContain('parcela que corresponde aos documentos conferidos'); expect(html).toContain('restantes ordens'); expect(html).toContain('disabled'); });