Run docker ps before migrating
Test / test (push) Successful in 1m24s Details

This commit is contained in:
Jeff 2024-10-19 13:56:58 -04:00
parent 5c230f8e5c
commit 06e82c4f3f
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,8 @@ import {
updateSubscription,
} from "./subscription"
import { exec } from "child_process"
const pushSubscription1 = {
endpoint: "https://updates.push.services.mozilla.com/wpush/v2/aaaaaaa",
expirationTime: null,
@ -51,6 +53,9 @@ describe("subscriptions", () => {
beforeEach(async () => {
try {
exec("docker compose -f docker-compose-test.yaml logs", (_, out) =>
console.log(out)
)
await migrateToLatest()
} catch (error) {
console.log("Something has exploded in migration")