test: align deployment checks with accepted diagnostics and public presentation
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -313,7 +313,7 @@ void test('monthly unit schedules must match the horizon and contain valid quant
|
||||
},
|
||||
],
|
||||
}),
|
||||
/Quantidade/,
|
||||
/Previs\u00e3o de Vendas \/ Unidades do produto 1, m\u00eas 1: .*tr\u00eas casas decimais/,
|
||||
);
|
||||
assert.throws(
|
||||
() =>
|
||||
@@ -327,7 +327,7 @@ void test('monthly unit schedules must match the horizon and contain valid quant
|
||||
},
|
||||
],
|
||||
}),
|
||||
/Quantidade/,
|
||||
/Previs\u00e3o de Vendas \/ Unidades do produto 1, m\u00eas 1: .*tr\u00eas casas decimais/,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -412,7 +412,7 @@ void test('monthly money schedules cover the horizon and reject invalid amounts'
|
||||
},
|
||||
],
|
||||
}),
|
||||
/não negativo/,
|
||||
/Este valor n\u00e3o pode ser negativo\./,
|
||||
);
|
||||
assert.throws(
|
||||
() =>
|
||||
@@ -503,7 +503,7 @@ void test('monthly operating schedules require full horizon, exact cents and cur
|
||||
periods: 1,
|
||||
monthlyPayrollExpenseByPeriod: ['-1'],
|
||||
}),
|
||||
/não negativo/,
|
||||
/Este valor n\u00e3o pode ser negativo\./,
|
||||
);
|
||||
const restored = restoreBusinessPlanSnapshot(
|
||||
serializeBusinessPlanSnapshot({
|
||||
@@ -611,7 +611,7 @@ void test('missing currency, products, invalid numbers and invalid horizons are
|
||||
assert.throws(
|
||||
() =>
|
||||
forecastBusinessPlan({ ...assumptions, monthlyCollections: '-10' }),
|
||||
/não negativo/,
|
||||
/Este valor n\u00e3o pode ser negativo\./,
|
||||
);
|
||||
assert.throws(
|
||||
() => forecastBusinessPlan({ ...assumptions, periods: 61 }),
|
||||
@@ -1067,7 +1067,7 @@ void test('scheduled collection percentage keeps unpaid invoices in receivables
|
||||
salesCollectionLagMonths: 0,
|
||||
salesCollectionPercent: '100.01',
|
||||
}),
|
||||
/entre 0 e 100/,
|
||||
/Introduza uma percentagem entre 0% e 100%\./,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -1126,7 +1126,7 @@ void test('sales recovery applies only to overdue invoices and never exceeds ope
|
||||
salesCollectionLagMonths: 0,
|
||||
salesRecoverySchedule: [{ month: 1, percent: '100.01' }],
|
||||
}),
|
||||
/entre 0 e 100/,
|
||||
/Introduza uma percentagem entre 0% e 100%\./,
|
||||
);
|
||||
assert.throws(
|
||||
() =>
|
||||
|
||||
Reference in New Issue
Block a user