@@ -221,7 +221,7 @@ export {A};
221221 [ Path . normalize ( 'package-simple-named/index.d.ts' ) ] : `export {A as B} from './lib/A';` ,
222222 [ Path . normalize ( 'package-simple-named/lib/A.d.ts' ) ] : 'export class A {}' ,
223223 } ;
224- expect ( await parser . getPackageExports ( 'package-simple-named/index' ) )
224+ expect ( await parser . getPackageExports ( Path . normalize ( 'package-simple-named/index' ) ) )
225225 . toEqual ( {
226226 B : {
227227 fileName : Path . normalize ( 'package-simple-named/lib/A' ) ,
@@ -235,7 +235,7 @@ export {A};
235235 [ Path . normalize ( 'package-simple-unnamed/index.d.ts' ) ] : `export * from './lib/A';` ,
236236 [ Path . normalize ( 'package-simple-unnamed/lib/A.d.ts' ) ] : 'export class A {}' ,
237237 } ;
238- expect ( await parser . getPackageExports ( 'package-simple-unnamed/index' ) )
238+ expect ( await parser . getPackageExports ( Path . normalize ( 'package-simple-unnamed/index' ) ) )
239239 . toEqual ( {
240240 A : {
241241 fileName : Path . normalize ( 'package-simple-unnamed/lib/A' ) ,
@@ -253,7 +253,7 @@ export * from './lib/C';
253253 [ Path . normalize ( 'package-multiple/lib/A.d.ts' ) ] : 'export class A {}' ,
254254 [ Path . normalize ( 'package-multiple/lib/C.d.ts' ) ] : 'export class C {}' ,
255255 } ;
256- expect ( await parser . getPackageExports ( 'package-multiple/index' ) )
256+ expect ( await parser . getPackageExports ( Path . normalize ( 'package-multiple/index' ) ) )
257257 . toEqual ( {
258258 B : {
259259 fileName : Path . normalize ( 'package-multiple/lib/A' ) ,
@@ -276,7 +276,7 @@ export * from './sub2/C'
276276 [ Path . normalize ( 'package-nested/lib/sub1/B.d.ts' ) ] : 'export class B {}' ,
277277 [ Path . normalize ( 'package-nested/lib/sub2/C.d.ts' ) ] : 'export class C {}' ,
278278 } ;
279- expect ( await parser . getPackageExports ( 'package-nested/index' ) )
279+ expect ( await parser . getPackageExports ( Path . normalize ( 'package-nested/index' ) ) )
280280 . toEqual ( {
281281 B : {
282282 fileName : Path . normalize ( 'package-nested/lib/sub1/B' ) ,
0 commit comments