add task
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user