remove test import for dev
Unit Tests with docker compose / unit-test (push) Successful in 50s Details
Build image / build (push) Successful in 1m48s Details
Unit Tests with docker compose / unit-test (pull_request) Successful in 42s Details

This commit is contained in:
Alie 2024-01-14 14:30:41 +01:00
parent 470654b515
commit a226155e9a
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,3 @@
import populateDatabase from "../tests/populateDatabase";
import { startApp } from "./app";
await startApp();
@ -7,6 +6,7 @@ await startApp();
try {
// Not insert test data into production
if (process.env.NODE_ENV != "production") {
const populateDatabase = require("../tests/populateDatabase");
await populateDatabase();
}
} catch {}