Skip to content

Commit

Permalink
Remove unnecessary lines of code in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuJoyceC committed Aug 26, 2016
1 parent ec1e757 commit 44fb727
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/credentials.spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,6 @@ if AWS.util.isNode()
it 'makes only one request when multiple calls are made before first one finishes', (done) ->
concurrency = countdown = 10
process.env['AWS_CONTAINER_CREDENTIALS_RELATIVE_URI'] = '/path'
creds = AWS.ECSCredentials.prototype
spy = mockEndpoint(new Date(0))
spy = helpers.spyOn(AWS.ECSCredentials.prototype, 'request').andCallFake (path, cb) ->
respond = ->
cb null, JSON.stringify(responseData)
Expand Down

0 comments on commit 44fb727

Please sign in to comment.