DAVFoundation / dav-js

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

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

Closed mariolo1985 closed 6 years ago

mariolo1985 commented 6 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 6 years ago

Did not merge my change into my forked master.

mariolo1985 commented 6 years ago

New PR opened: https://github.com/DAVFoundation/dav-js/pull/60