Unify institution profiles and reduce primary menu to six groups

This commit is contained in:
2026-11-11 12:11:52 +02:00
parent ee23a2cc2c
commit eca6719135
15 changed files with 853 additions and 296 deletions
+4 -7
View File
@@ -84,14 +84,11 @@ test("actual institution view keeps physical address separate from product cover
const html = renderToStaticMarkup(
React.createElement(InstitutionView, { value: details }),
);
assert.match(html, /Sede: SYNTHETIC Maputo office/);
assert.match(html, /Nacional, segundo a fonte/);
assert.match(html, /Condições: Por confirmar/);
assert.match(html, /Disponibilidade: Por confirmar/);
assert.match(html, /Sede: SYNTHETIC address/);
assert.match(html, /SYNTHETIC QA investment/);
assert.match(html, /https:\/\/example.invalid\/contact/);
assert.match(html, /https:\/\/example\.invalid\/source/);
assert.match(html, /Consultar informação da entidade/);
assert.match(html, /não é elegibilidade confirmada/);
assert.doesNotMatch(html,/Por confirmar|não é elegibilidade|SHA-256/);
});
test("adding a physical location does not fill product financing coverage", () => {
const { InstitutionFields } = load("components/funding-institution.tsx");