mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
@@ -50,6 +50,11 @@ test('#375 AC2: static wall geometry carries the recut fingerprint tag', () => {
|
||||
assert.match(render,
|
||||
/Object\.defineProperty\(built, 'sourceFingerprint', \{\s*\n\s*value: contentFingerprint\(\[spCfg, cellCm, GRID_PITCH\]\),/,
|
||||
'the tag must be the exact revision triple (rawSpaceConfig=spCfg, cellCm, gridPitch=GRID_PITCH)');
|
||||
assert.ok(
|
||||
render.indexOf("Object.defineProperty(built, 'sourceFingerprint'")
|
||||
< render.indexOf('const contentFrame ='),
|
||||
'#373 may move canonical geometry before framing, but must carry the #375 tag with it',
|
||||
);
|
||||
const scene = readFileSync(new URL('../src/glow-scene.ts', import.meta.url), 'utf8');
|
||||
assert.match(scene, /sharedFingerprint === revision\.geometryFingerprint/,
|
||||
'glow-scene honours the tag by comparing it with the revision fingerprint');
|
||||
|
||||
Reference in New Issue
Block a user