From f969bf153cf228cc73ba057b3998bac48ef7031b Mon Sep 17 00:00:00 2001 From: Tobi Balogun <98078707+tobisupreme@users.noreply.github.com> Date: Sun, 10 Sep 2023 22:10:14 +0100 Subject: [PATCH] fix(ci): add pretest script to ensure mongodb binaries are downloaded before test run --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 9a3ccc8..9a3227e 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "lint": "eslint .", "format:check": "npx prettier --check .", "format:write": "npx prettier --write .", + "pretest": "node test", "test": "APP_ENV=test jest --runInBand", "seed:track": "node ./seeders/trackSeeder.js" },