Add test comments
This commit is contained in:
parent
e5d27181f2
commit
ee1a198f1d
|
@ -3,6 +3,8 @@ import * as setup from "../../api/routes/tests/utilities"
|
|||
import { MIGRATIONS } from "../migrations"
|
||||
|
||||
describe("migration", () => {
|
||||
// These test is checking that each migration is "idempotent".
|
||||
// We should be able to rerun any migration, with any rerun not modifiying anything. The code should be aware that the migration already ran
|
||||
it("each migration can rerun safely", async () => {
|
||||
const config = setup.getConfig()
|
||||
await config.init()
|
||||
|
|
Loading…
Reference in New Issue