The event-message-handler.spec.ts suite has 156 tests with multiple bottlenecks:
- Async/delay operations (setTimeout/Promises)
- Cryptographic operations (secp256k1, signature verification)
- Proof-of-work validation (computationally expensive)
- Database operations
Goal: Reduce execution time by at least 20% while maintaining test coverage.
The event-message-handler.spec.ts suite has 156 tests with multiple bottlenecks:
Goal: Reduce execution time by at least 20% while maintaining test coverage.