build #26
|
@ -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 {}
|
||||
|
|
Loading…
Reference in New Issue