Ivan Shymko 98b8908788
test: run tests on Edge environment (#271)
# Description

Implemented according to
https://github.com/a2aproject/a2a-js/issues/237#issuecomment-3654100699.

1. Downgrade to vitest 3 to enable
[`@cloudflare/vitest-pool-workers`](https://developers.cloudflare.com/workers/testing/vitest-integration/).
2. Disable tests which have Express dependencies.
3. Remove listener errors tests from event bus: even on Node.js
EventEmitter erroring out inside listener results in uncaught exception
which stops the process by default, with this behavior running (or not
running) other listeners makes no difference. The workaround in test is
Node.js specific.
4. Explicitly define inclusions and exclusions for coverage, as this
behavior changed after downgrade.
5. Update static esbuild test to run on server entry point as well.

Fixes #237, re #218
2025-12-17 14:27:18 +01:00
..
2025-12-11 09:42:57 +01:00