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

Update ChargingCompleteMessageParams.test.ts Issue #63 #107

Closed AlvaroAlonsoFlor closed 5 years ago

AlvaroAlonsoFlor commented 5 years ago

Description

Changed ChargingCompleteMessageParams.test.ts parameters(messageParams and serializedMessageParams) to include them inside the BeforeEach() method provided by jest.

Related Issue

63

Motivation and Context

Updated these parameters to make them more dynamic by defining them to be mutable similar to src/vessel-charging/MissionParams.test.ts

How Has This Been Tested?

I run the tests again to check that everything was working properly.

Screenshots (if appropriate):

Types of changes

Improve test

Checklist: