-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit test cases to achieve full coverage (#2)
* Add unit test cases to achieve full coverage * Add setup instructions in CONTRIBUTING.md * Fix typo * Add call to parent's constructor in tests' custom Date class
- Loading branch information
Showing
4 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
node_modules | ||
package-lock.json | ||
output-template.yml | ||
*.tgz | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,18 @@ GitHub provides additional document on [forking a repository](https://help.githu | |
## Finding contributions to work on | ||
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start. | ||
|
||
## Testing the code | ||
## Development Process | ||
|
||
### Setting up for local development | ||
|
||
``` | ||
git clone [email protected]:awslabs/cognito-at-edge.git | ||
cd cognito-at-edge/ | ||
npm install | ||
``` | ||
|
||
### Testing the code | ||
Tests are written using jest. To run tests invoke | ||
``` | ||
npm test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters