style: format the phase 2 files and add them to the format scope

Prettier on the 13 new test files that failed --check; format-scope.json
now lists every file phase 2 added (src/globe/**, engineChoice, navaraMode,
cameraAngles, the QA scripts and pages, build/navaraAssets and tests).
This commit is contained in:
German Khokhlov committed 2026-10-15 22:34:25 +04:00
1 parent 312ed416e9
commit 80cc0b536e
14 files changed
+229 -46

No files matched your search

+8 -2
View File
@@ -12,8 +12,14 @@ test('claims on a globe engine set its camera sensitivity and share one ledger',
assert.equal(claimCameraSensitivity(engine, 'traffic', 0.05), 0.05);
assert.equal(engine.camera.percentageChanged, 0.05);
// The engine and its camera are the same claimant.
assert.equal(claimCameraSensitivity(engine.camera, 'installations', 0.01), 0.01);
assert.deepEqual(cameraSensitivityClaims(engine), ['traffic', 'installations']);
assert.equal(
claimCameraSensitivity(engine.camera, 'installations', 0.01),
0.01,
);
assert.deepEqual(cameraSensitivityClaims(engine), [
'traffic',
'installations',
]);
assert.equal(releaseCameraSensitivity(engine, 'installations'), 0.05);
assert.equal(releaseCameraSensitivity(engine.camera, 'traffic'), 0.5);
assert.equal(engine.camera.percentageChanged, 0.5);