Cannot stub got (the http request library)
`
import sinon, { stubObject } from "ts-sinon";
import got, { Got } from 'got';
const gotMock = stubObject(got); //crashes
`
Error message: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
Cannot stub got (the http request library)
`
import sinon, { stubObject } from "ts-sinon";
import got, { Got } from 'got';
const gotMock = stubObject(got); //crashes
`
Error message: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them