File tree 1 file changed +0
-21
lines changed
1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 1
1
import { describe , it } from "vitest" ;
2
2
import defaultExport from "../../lib/index.js" ;
3
- import * as namespaceExport from "../../lib/index.js" ;
4
3
import { default as namedDefaultExport } from "../../lib/index.js" ;
5
4
import {
6
5
JSONParserError ,
@@ -74,24 +73,4 @@ describe("json-schema-ref-parser package exports", () => {
74
73
expect ( UnmatchedResolverError ) . to . be . a ( "function" ) ;
75
74
expect ( UnmatchedResolverError . name ) . to . equal ( "UnmatchedResolverError" ) ;
76
75
} ) ;
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
- } ) ;
97
76
} ) ;
You can’t perform that action at this time.
0 commit comments