Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 3f6e47c

Browse files
author
Anthony Lukach
committed
Use jest for tests
1 parent ddb9fb3 commit 3f6e47c

File tree

6 files changed

+2756
-119
lines changed

6 files changed

+2756
-119
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# AWS SAM NodeJS + TypeScript Boilerplate
22

3-
This is a quick example my setup for build AWS SAM applications in TypeScript.
3+
This is a quick of example my setup for build AWS SAM applications in TypeScript.
44

55
_Note that I'm not a build-config wizard, this is a configuration that worked for me and that is continually evolving. If you see any mistakes or room for improvement, please create an Issue or Pull Request. **Feedback very welcome!**_
66

77
## Features
88

99
* Multiple entries: Each function handler is built into its own entry file. This aims to keep each function as small and discrete as possible, only packaging the logic needed for that particular function. These entry files are determined by searching the `template.yaml` for Resources with a Type of `AWS::Serverless::Function`.
10-
* Uglify output with sourcemap during production builds.
11-
* Tests via Mocha and Chai.
10+
* Uglify output during production builds.
11+
* Tests.
1212

1313
## Commands
1414

1515
* `start`: Watch source code, build on changes
1616
* `build`: Build source code
1717
* `test`: Run tests
18-
* `test-w`: Watch source code, run tests on changes
18+
* `test -- --watch`: Watch source code, run tests on changes
1919
* `package`: Run `sam package` with relevant `template-file` and `s3-bucket` values
2020
* `deploy`: Run `sam deploy` with relevant `template-file` and `stack-name` values
2121
* `clean`: Wipe-out build directory

0 commit comments

Comments
 (0)