Skip to content

Conversation

lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Aug 15, 2023

This change normalises all standard usage of sinon to be from the sinon package, not from the ts-sinon package. The only usage of ts-sinon that's left relates to the usage of the deprecated stubInterface function in ts-sinon. Consequently StubbedInstance is still imported from ts-sinon as well. There's a SinonStubbedInstance in sinon itself, but it is not compatible.

I didn't immediately see how to replace stubInterface, but I suppose we can do that in a follow-up. At that point we can remove the ts-sinon package completely.

@lerouxb
Copy link
Contributor Author

lerouxb commented Aug 17, 2023

Something was up with the evergreen integration here, but this is the green run https://spruce.mongodb.com/version/64dcfb912fbabe75dc5ea469/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

@lerouxb lerouxb merged commit 08eb04f into main Aug 17, 2023
@lerouxb lerouxb deleted the ts-sinon branch August 17, 2023 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants