DAVFoundation / dav-js

Enable integration of JavaScript, TypeScript, and Node.js code with the DAV Network
https://developers.dav.network/
MIT License
76 stars 51 forks source link

Create tests for `vessel-charging/messages/DeclineMessageParams` using jest #60

Closed mariolo1985 closed 5 years ago

mariolo1985 commented 5 years ago

Description

Created a Jest test to check the serialize and deserialize methods return the expected object.

Related Issue

https://github.com/DAVFoundation/dav-js/issues/26

Motivation and Context

To validate our expected results are returning correctly.

How Has This Been Tested?

This has been tested by running command npm run jest

Screenshots (if appropriate):

Types of changes

Checklist:

mariolo1985 commented 5 years ago

Indentation updated to 2 spaces.

Merged into master.