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:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.(Not applicable)
[ ] All new and existing tests passed.(Not applicable)
[x] Run again old tests to check refactoring didn't alter the result .
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: