Skip to content

Commit

Permalink
Handle different platform binary specs
Browse files Browse the repository at this point in the history
So it doesn't fail on non-OSX, non-node-4 platforms.
  • Loading branch information
Allen Luce committed Mar 29, 2018
1 parent 1cb7f56 commit be9fdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fetch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test('should follow redirects', function(t) {

// Mock an HTTP redirect
var n = nock('https://node-pre-gyp-tests.s3-us-west-1.amazonaws.com')
.get('/app1-v0.1.0-node-v48-darwin-x64.tar.gz')
.get(/\/app1-v0.1.0-node-v\d+-\S+-x64.tar.gz/)
.reply(302, '', {
'Location': 'https://node-pre-gyp-tests.s3-us-west-1.amazonaws.com/otherapp.tar.gz'
})
Expand Down

0 comments on commit be9fdeb

Please sign in to comment.