Skip to content

Commit 44fb727

Browse files
committed
Remove unnecessary lines of code in unit tests
1 parent ec1e757 commit 44fb727

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/credentials.spec.coffee

-2
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,6 @@ if AWS.util.isNode()
530530
it 'makes only one request when multiple calls are made before first one finishes', (done) ->
531531
concurrency = countdown = 10
532532
process.env['AWS_CONTAINER_CREDENTIALS_RELATIVE_URI'] = '/path'
533-
creds = AWS.ECSCredentials.prototype
534-
spy = mockEndpoint(new Date(0))
535533
spy = helpers.spyOn(AWS.ECSCredentials.prototype, 'request').andCallFake (path, cb) ->
536534
respond = ->
537535
cb null, JSON.stringify(responseData)

0 commit comments

Comments
 (0)