Release: enforce root version across component feeds

This commit is contained in:
faumaray committed 2026-07-28 21:41:55 +03:00
1 parent ecb2731e81
commit 229fa4b36c
1 file changed
+13
+13
View File
@@ -74,11 +74,24 @@ describe('update payload normalization', () => {
signed: false,
requiresRestart: true,
});
expect(status.components.core).toMatchObject({
component: 'core',
currentVersion: '4.0.0',
state: 'healthy',
});
expect(status.components.plugins).toMatchObject({
component: 'plugins',
state: 'current',
});
expect(status.plugins[0]).toMatchObject({
id: 'weather',
managed: true,
currentVersion: '2.0.0',
});
expect(status.plugins[0].candidate).toMatchObject({
version: '2.1.0',
signed: true,
});
expect(status.history).toHaveLength(1);
});