Replies: 1 comment 1 reply
-
Yess! I thought multiple times about the use of curl and refactoring the test.js file that is growing slowly up. Thanks for this! Let's do it! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey again,
I'd love to swap out the hand-rolled unit test solution for a framework.
Drivers:
curl
to be installed locally. This might not be the case by default when building in containers. I also had issues w/ a differentcurl
version.I've tried with Jest in my (very WIP) TS port.
Here's the gist of it:
http
: https://github.com/wwerner/transparent-proxy/pull/2/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398cR10I could help switch the existing tests over.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions