Skip to content

Commit

Permalink
Remove un-necessary tests
Browse files Browse the repository at this point in the history
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
  • Loading branch information
harshavamsi committed Feb 21, 2023
1 parent c68eb7a commit af810b1
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/unit/lib/aws/awssigv4signer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,22 +117,6 @@ test('Sign with SigV4 and provided service', (t) => {
t.same(signedRequest.service, mockService)
})

test('Sign with SigV4 failure (without getCredentials function)', (t) => {
t.plan(2)

const mockRegion = 'us-west-2'

const AwsSigv4SignerOptions = { region: mockRegion }

try {
AwsSigv4Signer(AwsSigv4SignerOptions)
t.fail('Should fail')
} catch (err) {
t.ok(err instanceof AwsSigv4SignerError)
t.same(err.message, 'getCredentials function is required')
}
})

test('Basic aws (promises)', (t) => {
t.plan(4)

Expand Down

0 comments on commit af810b1

Please sign in to comment.