Add shareable links with URL parameters for Mortgage and UK100k calcu… #43
Annotations
2 errors and 3 warnings
|
Quality Assurance
Process completed with exit code 1.
|
|
tests/calculations/go-full-time.test.ts > GoFullTimeCalculator > calculateGoFullTime > should produce consistent results:
tests/calculations/go-full-time.test.ts#L45
AssertionError: expected { currency: 'USD', …(19) } to deeply equal { currency: 'USD', …(19) }
- Expected
+ Received
@@ -1,12 +1,12 @@
{
"breakEvenSideIncome": 4000,
- "crossoverDate": 2026-12-29T19:46:53.465Z,
+ "crossoverDate": 2026-12-29T19:46:53.464Z,
"currency": "USD",
"currentRunwayMonths": 10,
"encouragementLevel": 75,
- "fullReplacementDate": 2027-06-29T19:46:53.465Z,
+ "fullReplacementDate": 2027-06-29T19:46:53.464Z,
"incomeGapToExpenses": 2500,
"incomeGapToSalary": 5550,
"isReadyToQuit": false,
"monthlySalary": 6250,
"monthlyTotalCompensation": 7050,
@@ -164,11 +164,11 @@
"savings": 56862,
"sideIncome": 14775,
},
],
"readinessPercent": 75,
- "recommendedQuitDate": 2026-09-29T19:46:53.465Z,
+ "recommendedQuitDate": 2026-09-29T19:46:53.464Z,
"savingsNeededForRisk": 24000,
"scenarios": [
{
"incomeNeeded": 2000,
"isReady": false,
❯ tests/calculations/go-full-time.test.ts:45:23
|
|
Quality Assurance:
src/hooks/useLocalStorage.ts#L14
'CURRENCY_STORAGE_KEY' is assigned a value but never used
|
|
Quality Assurance:
src/components/calculators/SleepCalculator/SleepCalculator.tsx#L104
'needs' is assigned a value but never used
|
|
Quality Assurance:
src/components/calculators/EVvsGasCalculator/EVvsGasCalculator.tsx#L25
'Divider' is defined but never used
|