feat: lead dashboard with authorised portal management groups
This commit is contained in:
@@ -11,7 +11,7 @@ new Function('require','module','exports',code)(name=>name==='@inertiajs/react'?
|
||||
test('each manager dashboard menu anchor resolves to a real section',()=>{
|
||||
const html=renderToStaticMarkup(React.createElement(module.exports.default,{summary:{requestsByStatus:{},publishedOpportunities:0,draftOpportunities:0,activeSectors:0,recentRequests:[]},workQueue:null}));
|
||||
for(const id of ['meu-trabalho','manifestacoes','indicadores-oportunidades','pedidos-recentes','accoes-rapidas'])assert.match(html,new RegExp('id="'+id+'"'));
|
||||
assert.match(html,/Painel do portal/);
|
||||
|
||||
});
|
||||
test('investor section remains distinct from administrative summary',()=>{
|
||||
const html=renderToStaticMarkup(React.createElement(module.exports.default,{summary:null,investorPath:{contexts:[],current:null}}));
|
||||
|
||||
Reference in New Issue
Block a user