Ivan Shymko 2829681182
test: remove sinon dependency and use vitest for mocking (#261)
# Description

Follow-up for #254.

Also related to
https://github.com/a2aproject/a2a-js/issues/237#issuecomment-3654100699:
an attempt to run current tests on `@cloudflare/vitest-pool-workers`
fails with `Disallowed operation called within global scope` coming from
`sinon`. A quick try to replace one file with pure vitest worked, even
if there're going to be other blockers for running proper Edge runtime
tests this change removes extra dependency.

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-17 11:14:24 +00:00
..