Add test comments

This commit is contained in:
Adria Navarro 2023-12-11 09:38:05 +01:00
parent e5d27181f2
commit ee1a198f1d
1 changed files with 2 additions and 0 deletions

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