Document the unit test

This commit is contained in:
Fabio José 2018-11-09 15:29:18 -02:00
parent 224993b824
commit 13afaf0f63
1 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,8 @@
# sdk-javascript
Javascript SDK for CloudEvents
> This is a WPI
# Repository Structure
```text
@ -40,6 +42,16 @@ Javascript SDK for CloudEvents
* `test/cloudevent_spec_0_2.js`: unit testing for spec 0.2
# Unit Testing
The unit test checks the result of formatted payload and the constraints.
```bash
npm test
```
# The API
## `Cloudevent` class