Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change credentials.expiration from number to Date #1040

Merged
merged 3 commits into from
Mar 24, 2020

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Mar 24, 2020

Issue #, if available:
Fixes #1037

Description of changes:
chore: change credentials.expiration from number to Date

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Jest throws following error because of Date object
babel-plugin-jest-hoist: The module factory of `jest.mock()` is not allowed to reference any out-of-scope variables
@codecov-io
Copy link

Codecov Report

Merging #1040 into smithy-codegen will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                Coverage Diff                 @@
##           smithy-codegen    #1040      +/-   ##
==================================================
+ Coverage           91.42%   91.43%   +0.01%     
==================================================
  Files                 145      145              
  Lines                2858     2850       -8     
  Branches              507      506       -1     
==================================================
- Hits                 2613     2606       -7     
+ Misses                245      244       -1     
Impacted Files Coverage Δ
...ovider-cognito-identity/src/fromCognitoIdentity.ts 100.00% <ø> (+4.76%) ⬆️
...rovider-imds/src/remoteProvider/ImdsCredentials.ts 100.00% <ø> (ø)
packages/credential-provider-node/src/index.ts 100.00% <100.00%> (ø)
packages/middleware-sdk-ec2/src/index.ts 85.18% <100.00%> (-1.03%) ⬇️
packages/middleware-sdk-rds/src/index.ts 87.23% <100.00%> (-0.53%) ⬇️
packages/signature-v4/src/SignatureV4.ts 100.00% <0.00%> (ø)
packages/s3-request-presigner/src/index.ts 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97ebfda...43b9e9a. Read the comment docs.

@aws-sdk-js-automation
Copy link

AWS CodeBuild CI Report

  • CodeBuild project: sdk-staging-test
  • Commit ID: 43b9e9a
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ⛴

@trivikr trivikr merged commit e3c46c0 into aws:smithy-codegen Mar 24, 2020
@trivikr trivikr deleted the expiration-date-object branch March 24, 2020 19:14
trivikr added a commit to trivikr/aws-sdk-js-v3 that referenced this pull request Mar 24, 2020
trivikr added a commit to trivikr/aws-sdk-js-v3 that referenced this pull request Mar 24, 2020
@lock
Copy link

lock bot commented Apr 2, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants