mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
build: refresh issue 244 bundle fingerprints
Issue: #244 User-Visible: no
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -60,6 +60,20 @@ test('bundle freshness uses the target tree fingerprint contract', async () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('bundle freshness includes deterministic golden harness inputs (#244)', () => {
|
||||||
|
const root = fixtureRoot();
|
||||||
|
try {
|
||||||
|
const golden = resolve(root, 'demo/golden');
|
||||||
|
mkdirSync(golden, { recursive: true });
|
||||||
|
writeFileSync(resolve(golden, 'matrix.mjs'), 'export const version = 1;\n', 'utf8');
|
||||||
|
const before = sourceFingerprint(root);
|
||||||
|
writeFileSync(resolve(golden, 'matrix.mjs'), 'export const version = 2;\n', 'utf8');
|
||||||
|
assert.notEqual(sourceFingerprint(root), before);
|
||||||
|
} finally {
|
||||||
|
rmSync(root, { recursive: true, force: true });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
test('the launcher gate refuses a stale bundle by default (#236)', async () => {
|
test('the launcher gate refuses a stale bundle by default (#236)', async () => {
|
||||||
// Смок против несвежего бандла не падает честно: на #234 три проверки
|
// Смок против несвежего бандла не падает честно: на #234 три проверки
|
||||||
// покраснели, а четвёртая ПРОШЛА, потому что старый код одинаково врал в двух
|
// покраснели, а четвёртая ПРОШЛА, потому что старый код одинаково врал в двух
|
||||||
|
|||||||
Reference in New Issue
Block a user