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

Updated test for 'src/ride-hailing/MissionParams.test.ts' issue #52 #54

Closed leeyspaul closed 6 years ago

leeyspaul commented 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.

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: