Entrega dashboard e correccoes transversais preservando Ofertas instalado
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -193,7 +193,7 @@ void test('small business exploratory draft includes idea and finance without ma
|
||||
assert.deepEqual(validateSimulationDraft(draft, 'opportunity'), {});
|
||||
});
|
||||
|
||||
void test('project investment evaluation opens a direct project, location, finance, tax and analysis journey', () => {
|
||||
void test('simple investment preparation separates initial investment and funding and retains the full advanced journey', () => {
|
||||
const selected = replaceSimulationValue({}, 'journey_type', 'investor');
|
||||
assert.equal(selected.purpose, 'simulate_only');
|
||||
const sections = getSimulationSections(selected).map(
|
||||
@@ -201,14 +201,29 @@ void test('project investment evaluation opens a direct project, location, finan
|
||||
);
|
||||
assert.deepEqual(sections, [
|
||||
'purpose',
|
||||
'project',
|
||||
'location',
|
||||
'market',
|
||||
'investment',
|
||||
'financial',
|
||||
'operating',
|
||||
'cashflow',
|
||||
'tax',
|
||||
'scenarios',
|
||||
'procedures',
|
||||
'review',
|
||||
]);
|
||||
assert.deepEqual(
|
||||
getSimulationSections({ ...selected, detail_level: 'advanced' }).map(
|
||||
(section) => section.id,
|
||||
),
|
||||
[
|
||||
'purpose',
|
||||
'project',
|
||||
'location',
|
||||
'financial',
|
||||
'tax',
|
||||
'scenarios',
|
||||
'procedures',
|
||||
'review',
|
||||
],
|
||||
);
|
||||
for (const sectionId of [
|
||||
'project',
|
||||
'location',
|
||||
|
||||
Reference in New Issue
Block a user