Making some native Bun tests using Eden but I'm facing a null data object in response object. I'm gonna let my fetching config and what I'm receiving in my test.
When fetching from an external client, like Postman or Insomnia, I get my response just like it should be. But when running tests with bun run test data field in response object is null. This image is showing what is happening: I'm logging what I'm returning to route and logging the response object I'm getting of this route.
Making some native Bun tests using Eden but I'm facing a null data object in response object. I'm gonna let my fetching config and what I'm receiving in my test.
When fetching from an external client, like Postman or Insomnia, I get my response just like it should be. But when running tests with
bun run test
data field in response object is null. This image is showing what is happening: I'm logging what I'm returning to route and logging the response object I'm getting of this route.Any thoughts?