Closed leeyspaul closed 6 years ago
Updated test to be more dynamic found in src/ride-hailing/MissionParams.test.ts as mentioned in https://github.com/DAVFoundation/dav-js/issues/52.
src/ride-hailing/MissionParams.test.ts
Changed constants to mutable variables at lines 4 and 5 and re-arranged code into a beforeEach(() => ...) block.
First timers pull request, updating the test to be more dynamic.
Running with npm run jest to run all tests. All tests passed.
npm run jest
Updated test to be more dynamic found in
src/ride-hailing/MissionParams.test.ts
as mentioned in https://github.com/DAVFoundation/dav-js/issues/52.Description
Changed constants to mutable variables at lines 4 and 5 and re-arranged code into a beforeEach(() => ...) block.
Related Issue
Motivation and Context
First timers pull request, updating the test to be more dynamic.
How Has This Been Tested?
Running with
npm run jest
to run all tests. All tests passed.Screenshots (if appropriate):
Types of changes
Checklist: