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";
|
import { startApp } from "./app";
|
||||||
|
|
||||||
await startApp();
|
await startApp();
|
||||||
|
@ -7,6 +6,7 @@ await startApp();
|
||||||
try {
|
try {
|
||||||
// Not insert test data into production
|
// Not insert test data into production
|
||||||
if (process.env.NODE_ENV != "production") {
|
if (process.env.NODE_ENV != "production") {
|
||||||
|
const populateDatabase = require("../tests/populateDatabase");
|
||||||
await populateDatabase();
|
await populateDatabase();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
|
|
Loading…
Reference in New Issue