update @types/sinon@9 and remove FakeTimers workaround #655
Labels
api: bigquery
Issues related to the googleapis/nodejs-bigquery API.
type: process
A process-related concern. May include testing, release, or the like.
Tests for
Table
as part of PR #589 use the sinon fake timers API async methods. At the time of this writing (and #589) the async methods, i.e.runAllAsync
andtickAsync
, are missing from the TS definitions. A workaround is currently in place that defines theSinonFakeTimersShim
interface:The PR DefinitelyTyped/DefinitelyTyped#43148 was introduced to resolve this issue, and once it lands:
@types/sinon
to version 9 (will be a major version bump up from 7)SinonFakeTimersShim
in favor ofSinonFakeTimers
The text was updated successfully, but these errors were encountered: