File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 11import { describe , it } from "vitest" ;
22import defaultExport from "../../lib/index.js" ;
3- import * as namespaceExport from "../../lib/index.js" ;
43import { default as namedDefaultExport } from "../../lib/index.js" ;
54import {
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} ) ;
You can’t perform that action at this time.
0 commit comments