mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
test: prove the multi-floor overlay in the production bundle
User-Visible: no Issue: #162
This commit is contained in:
@@ -381,6 +381,18 @@ const MUTANT_DEFINITIONS = [
|
||||
replace: ' const kept = routes;',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'vacuum-overlay-back-to-the-dock-space-filter',
|
||||
guard: 'npm run bundle:sync && node demo/smoke_vacuum_multifloor.mjs',
|
||||
because: 'the overlay layer must see every robot of the plan, not only those whose DOCK '
|
||||
+ 'is in the space on screen: the old filter is exactly why a multi-floor robot could '
|
||||
+ 'never appear on its second floor (#162, AC2)',
|
||||
patches: [{
|
||||
file: 'src/houseplan-card.ts',
|
||||
find: ' ${this._renderVacuums(this._renderDevices, view, space.id)}',
|
||||
replace: ' ${this._renderVacuums(devs, view, space.id)}',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'area-snapshot-cleanup-ignores-authority',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
|
||||
Reference in New Issue
Block a user