mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-07 06:59:46 +00:00
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
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user