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', () => {
456456
457457 it ( 'supports "owner/repo" style repository string' , async ( ) => {
458458
459- listRemoteStub
459+ fixture . stubs . listRemote
460460 . returns ( '9cef39d21ad229dea4b10295f55b0d9a83800b23\tHEAD\n' ) ;
461461
462462 Nock ( 'https://raw.githubusercontent.com' )
@@ -467,8 +467,8 @@ describe('detect-node-support', () => {
467467
468468 const result = await NodeSupport . detect ( { repository : 'pkgjs/detect-node-support' } ) ;
469469
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' ] ] ) ;
472472
473473 expect ( result ) . to . equal ( {
474474 name : 'detect-node-support' ,
You can’t perform that action at this time.
0 commit comments