mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
style(agent): wrap long test declarations to Prettier policy
This commit is contained in:
1 parent
cefbad3c2a
commit
3e23b4cd39
1 file changed
+20
-8
@@ -71,7 +71,9 @@ test('World Packet preserves get_current_view_state parity', async () => {
|
||||
assert.equal(packet.feedProvenance.overall, 'nominal');
|
||||
});
|
||||
|
||||
test('World Packet keeps stale/unavailable feed semantics distinct from empty', () => {
|
||||
test(
|
||||
'World Packet keeps stale/unavailable feed semantics distinct from empty',
|
||||
() => {
|
||||
const { viewer, dataManager, styleManager } = harness();
|
||||
dataManager.getAll = () => [
|
||||
{
|
||||
@@ -92,9 +94,12 @@ test('World Packet keeps stale/unavailable feed semantics distinct from empty',
|
||||
assert.notEqual(packet.layers[0].feedState, 'nominal');
|
||||
assert.notEqual(packet.feedProvenance.overall, 'nominal');
|
||||
assert.match(packet.feedProvenance.note, /fixture unavailable/i);
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
test('semantic fingerprint ignores narration prose but changes with observed state', () => {
|
||||
test(
|
||||
'semantic fingerprint ignores narration prose but changes with observed state',
|
||||
() => {
|
||||
const { viewer, dataManager, styleManager } = harness();
|
||||
const packet = getWorldPacket({ viewer, dataManager, styleManager });
|
||||
const original = semanticWorldPacketFingerprint(packet);
|
||||
@@ -106,10 +111,13 @@ test('semantic fingerprint ignores narration prose but changes with observed sta
|
||||
const changed = structuredClone(packet);
|
||||
changed.layers[0].count += 1;
|
||||
assert.notEqual(semanticWorldPacketFingerprint(changed), original);
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
// The 2026-10 main voice contract omits disabled layers from the model payload.
|
||||
test('World Packet and voice preserve enabled-only payload and count disabled layers', async () => {
|
||||
test(
|
||||
'World Packet and voice preserve enabled-only payload and count disabled layers',
|
||||
async () => {
|
||||
const { viewer, dataManager, styleManager } = harness();
|
||||
const rows = dataManager.getAll();
|
||||
rows.push({
|
||||
@@ -132,9 +140,12 @@ test('World Packet and voice preserve enabled-only payload and count disabled la
|
||||
const runner = createGevActionRunner({ viewer, dataManager, styleManager });
|
||||
const voice = await runner('get_current_view_state');
|
||||
assert.deepEqual(voice, packet);
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
test('World Packet fingerprints distinguish enabled state but ignore narrative churn', () => {
|
||||
test(
|
||||
'World Packet fingerprints distinguish enabled state but ignore narrative churn',
|
||||
() => {
|
||||
const { viewer, dataManager, styleManager } = harness();
|
||||
const first = getWorldPacket({ viewer, dataManager, styleManager });
|
||||
const prose = structuredClone(first);
|
||||
@@ -149,4 +160,5 @@ test('World Packet fingerprints distinguish enabled state but ignore narrative c
|
||||
semanticWorldPacketFingerprint(first),
|
||||
semanticWorldPacketFingerprint(hidden),
|
||||
);
|
||||
});
|
||||
},
|
||||
);
|
||||
Reference in new issue
Block a user