diff --git a/src/models/schema/__tests__/getSchemas.test.ts b/src/models/schema/__tests__/getSchemas.test.ts new file mode 100644 index 00000000..1d305c61 --- /dev/null +++ b/src/models/schema/__tests__/getSchemas.test.ts @@ -0,0 +1,10 @@ +import { assertEquals } from "https://deno.land/std@0.210.0/assert/assert_equals.ts"; +import { getSchemas } from "../getSchemas.ts"; +import { schemaMockData } from "../../mainRelations/__test__/getMainRelations.test.ts"; + +Deno.test({ + name: "getSchemas should return schemaMockData from schemaMockData", + fn() { + assertEquals(getSchemas(schemaMockData), schemaMockData); + }, +});