1
0
Fork 0
mirror of synced 2024-10-01 09:38:55 +13:00

Add test comments

This commit is contained in:
Adria Navarro 2023-12-11 09:38:05 +01:00
parent e5d27181f2
commit ee1a198f1d

View file

@ -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()