Skip to content

add tests to get to 100% line coverage - #4541

Merged
HyperBrain merged 1 commit into
serverless:circular-varsfrom
erikerikson:add-coverage
Dec 8, 2017
Merged

HyperBrain merged 1 commit into
serverless:circular-varsfrom
erikerikson:add-coverage

Conversation

@erikerikson

Copy link
Copy Markdown
Contributor

What did you implement:

  1. add tests that validate string value defaults in overrides.
  2. add test of behavior when a javascript's export does not contain the attribute declared in the variable.
  3. add tests of behavior when an SSM parameter is not found and the request to the SSM service fails.

add returns to tests that weren't returning their promises (and were thereby risking false positives.

How did you implement it:

How can we verify it:

Todos:

  • Write tests
  • Write documentation
  • Fix linting errors
  • Make sure code coverage hasn't dropped
  • Provide verification config / commands / resources
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: NO
Is it a breaking change?: NO

1. add tests that validate string value defaults in overrides.
2. add test of behavior when a javascript's export does not contain the attribute declared in the variable.
3. add tests of behavior when an SSM parameter is not found and the request to the SSM service fails.

add returns to tests that weren't returning their promises (and were thereby risking false positives.
@HyperBrain
HyperBrain merged commit 05260c0 into serverless:circular-vars Dec 8, 2017
@pmuens pmuens added this to the 1.25 milestone Dec 20, 2017
@erikerikson
erikerikson deleted the add-coverage branch August 20, 2019 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants