aws-solutions / aws-connected-vehicle-solution

The AWS Connected Vehicle Solution is a reference implementation that provides a foundation for automotive product transformations for connected vehicle services, autonomous driving, electric powertrains, and shared mobility.
http://aws.amazon.com/answers/iot/connected-vehicle-cloud/
Other
87 stars 54 forks source link

Fixes test failure under recent versions of Sinon #7

Open peterhinson opened 4 years ago

peterhinson commented 4 years ago

Tests fail out of the box due to an undefined/archaic Sinon method. This PR replaces the depreciated sinon.sandbox.create() calls with the equivalent sinon.createSandbox() method (which itself is slightly depreciated, but should retain backwards compatibility).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.