remove test import for dev
This commit is contained in:
parent
470654b515
commit
a226155e9a
|
@ -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