Avoid hassfest manifest collision
Validate / hacs (push) Failing after 8s
Validate / hassfest (push) Failing after 8s
Validate / frontend (push) Successful in 3m52s
Validate / backend (push) Failing after 8m33s
Validate / golden (push) Failing after 6m9s
Validate / smoke (push) Failing after 22m51s

This commit is contained in:
Matysh
2026-08-08 22:03:09 +03:00
parent 9590011ddb
commit b1deb0beab
5 changed files with 16 additions and 4 deletions
+10 -1
View File
@@ -1,6 +1,15 @@
import assert from 'node:assert/strict';
import test from 'node:test';
import { assertGoldenInvocation, goldenRunFailed } from '../demo/golden/policy.mjs';
import {
assertGoldenInvocation,
GOLDEN_BASELINE_MANIFEST,
goldenRunFailed,
} from '../demo/golden/policy.mjs';
test('golden metadata cannot be mistaken for a Home Assistant integration manifest', () => {
assert.equal(GOLDEN_BASELINE_MANIFEST, 'baseline-manifest.json');
assert.notEqual(GOLDEN_BASELINE_MANIFEST, 'manifest.json');
});
test('golden capture fails on runtime errors but permits missing baselines', () => {
assert.equal(goldenRunFailed('capture', false, [{ status: 'error' }]), true);