File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ describe('detect-node-support', () => {
456
456
457
457
it ( 'supports "owner/repo" style repository string' , async ( ) => {
458
458
459
- listRemoteStub
459
+ fixture . stubs . listRemote
460
460
. returns ( '9cef39d21ad229dea4b10295f55b0d9a83800b23\tHEAD\n' ) ;
461
461
462
462
Nock ( 'https://raw.githubusercontent.com' )
@@ -467,8 +467,8 @@ describe('detect-node-support', () => {
467
467
468
468
const result = await NodeSupport . detect ( { repository : 'pkgjs/detect-node-support' } ) ;
469
469
470
- expect ( listRemoteStub . callCount ) . to . equal ( 1 ) ;
471
- expect ( listRemoteStub . args [ 0 ] ) . to . equal ( [ [ 'http://github.com/pkgjs/detect-node-support' , 'HEAD' ] ] ) ;
470
+ expect ( fixture . stubs . listRemote . callCount ) . to . equal ( 1 ) ;
471
+ expect ( fixture . stubs . listRemote . args [ 0 ] ) . to . equal ( [ [ 'http://github.com/pkgjs/detect-node-support' , 'HEAD' ] ] ) ;
472
472
473
473
expect ( result ) . to . equal ( {
474
474
name : 'detect-node-support' ,
You can’t perform that action at this time.
0 commit comments