Skip to content

Commit

Permalink
test: only use files in dist
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Aug 10, 2020
1 parent 8d77a1d commit 0a1fa0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/custom.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var getAjvInstances = require("./ajv_instances"),
should = require("./chai").should(),
equal = require("../lib/compile/equal"),
equal = require("../dist/compile/equal"),
customRules = require("./custom_rules")

describe("Custom keywords", function () {
Expand Down
2 changes: 1 addition & 1 deletion spec/json-schema.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function runTest(instances, draft, tests) {
instances.forEach(function (ajv) {
switch (draft) {
case 6:
ajv.addMetaSchema(require("../lib/refs/json-schema-draft-06.json"))
ajv.addMetaSchema(require("../dist/refs/json-schema-draft-06.json"))
ajv._opts.defaultMeta = "http://json-schema.org/draft-06/schema#"
break
}
Expand Down
2 changes: 1 addition & 1 deletion spec/security.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var jsonSchemaTest = require("json-schema-test"),
after = require("./after_test")

var instances = getAjvInstances(options, {
schemas: [require("../lib/refs/json-schema-secure.json")],
schemas: [require("../dist/refs/json-schema-secure.json")],
})

jsonSchemaTest(instances, {
Expand Down

0 comments on commit 0a1fa0f

Please sign in to comment.