Skip to content

Commit 3bcee96

Browse files
committed
fix: remove exports test
1 parent 2c50198 commit 3bcee96

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/specs/exports.spec.ts

-21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { describe, it } from "vitest";
22
import defaultExport from "../../lib/index.js";
3-
import * as namespaceExport from "../../lib/index.js";
43
import { default as namedDefaultExport } from "../../lib/index.js";
54
import {
65
JSONParserError,
@@ -74,24 +73,4 @@ describe("json-schema-ref-parser package exports", () => {
7473
expect(UnmatchedResolverError).to.be.a("function");
7574
expect(UnmatchedResolverError.name).to.equal("UnmatchedResolverError");
7675
});
77-
78-
it("should not export anything else", async () => {
79-
expect(namespaceExport).to.have.same.keys(
80-
"$RefParser",
81-
"default",
82-
"parse",
83-
"resolve",
84-
"dereference",
85-
"bundle",
86-
"JSONParserError",
87-
"InvalidPointerError",
88-
"MissingPointerError",
89-
"ResolverError",
90-
"ParserError",
91-
"UnmatchedParserError",
92-
"isHandledError",
93-
"JSONParserErrorGroup",
94-
"UnmatchedResolverError",
95-
);
96-
});
9776
});

0 commit comments

Comments
 (0)