@@ -8,7 +8,7 @@ test('should resolve module on UNPKG', async () => {
8
8
require ( '../src/systemjs-unpkg' ) ; // eslint-disable-line import/no-unassigned-import
9
9
10
10
await System . import ( 'lodash' ) ;
11
- expect ( spy ) . toHaveBeenNthCalledWith ( 2 , '//unpkg.com/lodash' , undefined ) ;
11
+ expect ( spy ) . toHaveBeenNthCalledWith ( 2 , 'https: //unpkg.com/lodash' , undefined ) ;
12
12
13
13
spy . mockRestore ( ) ;
14
14
} ) ;
@@ -20,7 +20,7 @@ test('should resolve versioned module on UNPKG', async () => {
20
20
require ( '../src/systemjs-unpkg' ) ; // eslint-disable-line import/no-unassigned-import
21
21
22
22
const _ = await System . import ( 'lodash@4.17.0' ) ;
23
- expect ( spy ) . toHaveBeenNthCalledWith ( 2 , '//unpkg.com/lodash@4.17.0' , undefined ) ;
23
+ expect ( spy ) . toHaveBeenNthCalledWith ( 2 , 'https: //unpkg.com/lodash@4.17.0' , undefined ) ;
24
24
expect ( _ . VERSION ) . toBe ( '4.17.0' ) ;
25
25
spy . mockRestore ( ) ;
26
26
} ) ;
@@ -35,7 +35,7 @@ test('should fail when resolving non-existing module', async () => {
35
35
System . import ( nonExistentPkg ) ,
36
36
) . rejects . toThrow ( '404 Not Found' ) ;
37
37
38
- expect ( spy ) . toHaveBeenNthCalledWith ( 2 , '//unpkg.com/' + nonExistentPkg , undefined ) ;
38
+ expect ( spy ) . toHaveBeenNthCalledWith ( 2 , 'https: //unpkg.com/' + nonExistentPkg , undefined ) ;
39
39
40
40
spy . mockRestore ( ) ;
41
41
} ) ;
0 commit comments