Skip to content

Commit

Permalink
tests for getSchemas are added
Browse files Browse the repository at this point in the history
  • Loading branch information
MHMoradian committed Jan 4, 2024
1 parent cc294d0 commit 5529702
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/models/schema/__tests__/getSchemas.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { assertEquals } from "https://deno.land/[email protected]/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);
},
});

0 comments on commit 5529702

Please sign in to comment.