fix: align release manifest with migration heads
This commit is contained in:
1 parent
65de2b30a3
commit
f09a916c4b
2 files changed
+11
-2
No files matched your search
@@ -33,6 +33,15 @@ afterEach(async () => {
|
||||
});
|
||||
|
||||
describe('readReleaseManifest', () => {
|
||||
it('keeps the checked-in manifest aligned with the checked-in migration heads', async () => {
|
||||
const workspaceRoot = path.resolve(import.meta.dirname, '../../..');
|
||||
|
||||
await expect(readReleaseManifest(workspaceRoot)).resolves.toMatchObject({
|
||||
gatewaySchemaHead: '20260801000000_add_user_icon_library',
|
||||
gameSchemaHead: '20260803000000_add_logical_game_clock',
|
||||
});
|
||||
});
|
||||
|
||||
it('accepts a manifest whose schema heads match the selected workspace', async () => {
|
||||
const workspace = await createWorkspace('20260801000000_gateway', '20260801000000_game');
|
||||
|
||||
|
||||
Reference in new issue
Block a user