This commit is contained in:
Andras Schmelczer 2026-06-17 08:05:22 +01:00
parent 4a0f00f2a4
commit 18ace123dc
13 changed files with 59 additions and 33 deletions

View file

@ -32,8 +32,8 @@ describe('buildTimelineEvents', () => {
{ year: 2019, status: 'Rented (private)' },
{ year: 2023, status: 'Owner-occupied' },
],
}),
),
})
)
).toEqual(['tenure:Owner-occupied:2023', 'tenure:Rented (private):2019']);
});
@ -47,8 +47,8 @@ describe('buildTimelineEvents', () => {
{ year: 2024, month: 1, price: 300_000 },
],
tenure_history: [{ year: 2020, status: 'Rented (private)' }],
}),
),
})
)
).toEqual(['tenure:Rented (private):2020', 'sale:2015']);
});