This commit is contained in:
João Geonizeli
2022-07-09 14:28:36 -03:00
parent 97dac843fe
commit 82c078f5db
17 changed files with 200 additions and 50 deletions

View File

@@ -2,7 +2,7 @@ import { DataSource } from "typeorm";
export const cleanDataSource = async (
dataSource: DataSource,
entityNames: string[] = ["project", "user"]
entityNames: string[] = ["task", "project", "user"]
) => {
if (process.env.NODE_ENV !== "test") {
throw new Error(