When in Web mode, we were using the Node.js Timeout refresh() method. This does not exist
in web mode.
Solution
Update the use with our environment agnostic Timeout class, which works in web or node.
Copy the timeout unit tests from our regular test/ in to the web mode tests. Fixed a minor bug when refreshing in web mode, and now they all pass without any modifications to the tests.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
When in Web mode, we were using the Node.js Timeout
refresh()
method. This does not exist in web mode.Solution
Timeout
class, which works in web or node.test/
in to the web mode tests. Fixed a minor bug when refreshing in web mode, and now they all pass without any modifications to the tests.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.