mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
test(db): give the stand-in migration storage the master transaction calls
This commit is contained in:
@@ -246,6 +246,8 @@ export function fakeMoveOrm(pg: FakePostgres, options: { pending?: string[]; kno
|
||||
const migrator = {
|
||||
getStorage: () => ({
|
||||
ensureTable: vi.fn(async () => undefined),
|
||||
setMasterMigration: vi.fn(),
|
||||
unsetMasterMigration: vi.fn(),
|
||||
logMigration: vi.fn(async ({ name }: { name: string }) => {
|
||||
executed.push(name);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user