Skip to content

Commit 0777cda

Browse files
committed
chore: main -> base in schemas
1 parent 5cffc11 commit 0777cda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/JSONSchemasInterface.tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { expect } from "chai";
22

33
import { JSONSchemasInterface } from "../src/JSONSchemasInterface";
4-
import { mainSchemas, mixSchemas } from "../src/utils/schemas";
4+
import { baseSchemas, mixSchemas } from "../src/utils/schemas";
55

66
describe("JSONSchemasInterface", () => {
77
it("can find main schema", () => {
8-
Object.values(mainSchemas).forEach((schemaId) => {
8+
Object.values(baseSchemas).forEach((schemaId) => {
99
const schema = JSONSchemasInterface.schemaById(schemaId);
1010
expect(schema).to.be.an("object");
1111
});
@@ -21,7 +21,7 @@ describe("JSONSchemasInterface", () => {
2121
});
2222

2323
it("can match schemas", () => {
24-
const schemaId = Object.values(mainSchemas)[0];
24+
const schemaId = Object.values(baseSchemas)[0];
2525
const schema = JSONSchemasInterface.matchSchema({
2626
schemaId: {
2727
$regex: schemaId,

0 commit comments

Comments
 (0)