Skip to content

Commit 69b3f2d

Browse files
authored
Merge pull request #32 from pkgjs/tests
Fix test failure introduced due to PRs not being in sync with each other
2 parents 80f8baa + a506258 commit 69b3f2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)