Closed kettanaito closed 3 months ago
The core has been migrated but tests need rewriting.
Hah, just started working on it today :)
@weyert, good call. I think I've already added that with these changes:
@weyert, I've removed isEqualBytes
in favor of the custom .toEqualBytes()
assertion. Let's use that in the tests instead whenever we need to asserting two Uint8Array
equality.
All fromTraffic
tests are passing!
✓ test/traffic/fromTraffic.test.ts (7)
✓ test/traffic/response-body.test.ts (4)
✓ test/traffic/response-order.test.ts (1)
✓ test/traffic/response-cookies.test.ts (1)
✓ test/traffic/response-stream.test.ts (1)
✓ test/traffic/response-timing.test.ts (2) 557ms
Now, to the fromOpenApi
tests...
The tests are passing and the migration is complete. I will go ahead and merge this.
This has been released in v0.1.0!
Make sure to always update to the latest version (npm i @mswjs/source@latest
) to get the newest features and bug fixes.
Predictable release automation by @ossjs/release.