Skip to content

Commit

Permalink
update migrate snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
williamluke4 committed Jun 10, 2021
1 parent c82c30a commit a41d0bd
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/packages/migrate/src/__tests__/rpc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,18 @@ it('devDiagnostic - reset because drift', async () => {
migrationsDirectoryPath: migrate.migrationsDirectoryPath,
})
await expect(result).resolves.toMatchInlineSnapshot(`
Object {
action: Object {
reason: Drift detected: Your database schema is not in sync with your migration history.,
tag: reset,
},
}
`)
Object {
action: Object {
reason: Drift detected: Your database schema is not in sync with your migration history.
[+] Added tables
- Blog
- _Migration
,
tag: reset,
},
}
`)

migrate.stop()
})

0 comments on commit a41d0bd

Please sign in to comment.