Skip to content

Commit f8d17a5

Browse files
committed
chore: quiet linter
1 parent aceecd4 commit f8d17a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/specs/dereference-callback/dereference-callback.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
const { expect } = require("chai");
44
const $RefParser = require("../../..");
5-
const path = require("../../utils/path");
5+
const { rel } = require("../../utils/path");
66

77
describe("Schema with a $ref", () => {
88
it("should call onDereference", async () => {
99
let parser = new $RefParser();
1010
const calls = [];
11-
const schema = await parser.dereference(
12-
path.rel("specs/dereference-callback/dereference-callback.yaml"),
11+
await parser.dereference(
12+
rel("specs/dereference-callback/dereference-callback.yaml"),
1313
{
1414
dereference: {
1515
onDereference (path, object) {

0 commit comments

Comments
 (0)