Skip to content

Commit

Permalink
update ajv-formats and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Sep 16, 2020
1 parent 4bb210d commit c207bbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@types/node": "^14.0.27",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"ajv-formats": "^0.3.0",
"ajv-formats": "^0.3.2",
"browserify": "^16.2.0",
"chai": "^4.0.1",
"coveralls": "^3.0.1",
Expand Down
3 changes: 1 addition & 2 deletions spec/json-schema.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import type Ajv from "../dist/ajv"
import getAjvInstances from "./ajv_instances"
import jsonSchemaTest from "json-schema-test"
import options from "./ajv_options"
Expand Down Expand Up @@ -35,7 +34,7 @@ runTest(
require("./_json/draft7")
)

function runTest(instances: Ajv[], draft: number, tests) {
function runTest(instances, draft: number, tests) {
for (const ajv of instances) {
if (draft === 6) {
ajv.addMetaSchema(require("../dist/refs/json-schema-draft-06.json"))
Expand Down

0 comments on commit c207bbc

Please sign in to comment.