Skip to content

Commit 4bfc645

Browse files
committed
Fix tests referencing 'ajv8'
1 parent dfa5b0a commit 4bfc645

File tree

2 files changed

+71
-8
lines changed

2 files changed

+71
-8
lines changed

packages/playground/package-lock.json

Lines changed: 67 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/validator-ajv8/test/createAjvInstance.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Ajv from "ajv8";
2-
import Ajv2019 from "ajv8/dist/2019";
1+
import Ajv from "ajv";
2+
import Ajv2019 from "ajv/dist/2019";
33
import addFormats from "ajv-formats";
44

55
import createAjvInstance, {
@@ -9,8 +9,8 @@ import createAjvInstance, {
99
} from "../src/createAjvInstance";
1010
import { CustomValidatorOptionsType } from "../src";
1111

12-
jest.mock("ajv8");
13-
jest.mock("ajv8/dist/2019");
12+
jest.mock("ajv");
13+
jest.mock("ajv/dist/2019");
1414
jest.mock("ajv-formats");
1515

1616
export const CUSTOM_OPTIONS: CustomValidatorOptionsType = {

0 commit comments

Comments
 (0)