tenko
tenko3w ago

TestContainers are broken in Deno.

I'm was trying to set up testcontainers https://testcontainers.com/ in deno. Their SDK makes a socket connection to local docker using node http. However, this same connection is broken in deno. I'm just wondering if it's my machine or something is wrong with node:http. Here is more info https://github.com/denoland/deno/issues/27675
Testcontainers
Testcontainers
Testcontainers is an opensource library for providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
GitHub
Deno 2.1.4 - node:http's http.request socketPath option fails in De...
Summary: Deno's node:http module behaves differently than Node.js's http module when using http.request with the socketPath option to connect to the Docker socket. Instead of connecting to ...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?