File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ exports.default = profiles;
1414
1515module . exports = profiles ;
1616module . exports . proxyBundle = proxyBundle ;
17+ module . exports . default = profiles ;
Original file line number Diff line number Diff line change 22
33const { test, strict } = require ( 'poku' ) ;
44const awsCaBundle = require ( '../../lib/index.js' ) ;
5+ const { ca : awsCas } = require ( '../../lib/index.js' ) . default ;
56const { proxyBundle } = require ( '../../lib/index.js' ) ;
67
78test ( 'Testing require (CJS)' , ( ) => {
89 strict ( typeof awsCaBundle ?. ca ?. length === 'number' , 'Default require' ) ;
10+ strict (
11+ typeof awsCas ?. length === 'number' ,
12+ 'Default require with default property present'
13+ ) ;
914 strict ( typeof proxyBundle ?. ca ?. length === 'number' , '"proxyBundle" require' ) ;
1015 strict (
1116 typeof awsCaBundle . proxyBundle ?. ca ?. length === 'number' ,
You can’t perform that action at this time.
0 commit comments