Skip to content

Commit

Permalink
fix: test still requiring fast-uri as fallback for resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed May 16, 2024
1 parent 3890d18 commit a5e1a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/resolve.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import _Ajv from "./ajv"
import type {AnyValidateFunction} from "../dist/types"
import type MissingRefError from "../dist/compile/ref_error"
import chai from "./chai"
import * as uriJs from "fast-uri"
import * as uriJs from "uri-js"
const should = chai.should()

const uriResolvers = [undefined, uriJs]

uriResolvers.forEach((resolver) => {
let describeTitle: string
if (resolver !== undefined) {
describeTitle = "fast-uri resolver"
describeTitle = "uri-js resolver"
} else {
describeTitle = "fast-uri resolver"
}
Expand Down

0 comments on commit a5e1a6b

Please sign in to comment.