Files
Michał Pierzchała 893ce4b866 fix(ci): repair nightly XCTest and conformance lanes (#1989)
* fix(ci): repair nightly XCTest and conformance lanes

* fix(ci): harden nightly failure classification

* fix(ci): stabilize macOS replay cleanup

* fix(ci): close nightly review gaps

* fix(ci): classify device claims as infrastructure
2026-08-24 19:29:33 +02:00

11 lines
459 B
JavaScript

import assert from 'node:assert/strict';
import test from 'node:test';
import { formatGeneratedJson } from './format-generated-json.mjs';
test('generated fixtures use the repository JSON format', () => {
const formatted = formatGeneratedJson({ matches: ['card'], selected: 'card' });
assert.equal(formatted, '{\n "matches": ["card"],\n "selected": "card"\n}\n');
assert.deepEqual(JSON.parse(formatted), { matches: ['card'], selected: 'card' });
});