From de8528caace29d5e0c96fa9184b525374f274eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Fri, 9 Nov 2018 15:29:18 -0200 Subject: [PATCH] Document the unit test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 654c4a3..d8e43cd 100644 --- a/README.md +++ b/README.md @@ -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