-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for Bun & Small tweaks #1814
Conversation
ardatan
commented
Nov 18, 2024
•
edited
Loading
edited
- Run Unit tests w/ Bun test runner
- Do not fail with missing DecompressionStream and CompressionStream
0e0c360
to
d4e9457
Compare
✅
|
✅
|
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@whatwg-node/node-fetch |
0.7.3-alpha-20241119021800-e3f065ad802110966f68788462a1c5a253287f70 |
npm ↗︎ unpkg ↗︎ |
@whatwg-node/server |
0.9.56-alpha-20241119021800-e3f065ad802110966f68788462a1c5a253287f70 |
npm ↗︎ unpkg ↗︎ |
✅
|
✅
|
✅
|
try { | ||
await body.formData(); | ||
expect(true).toBe(false); | ||
} catch (e) { | ||
expect(e).toBeInstanceOf(TypeError); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, why isnt the original code working? bun test
does not support it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bun test does not support it :/