watermelon-http-client icon indicating copy to clipboard operation
watermelon-http-client copied to clipboard

🐛 windows-latest fails CI because IIS returns 200 on error scenario

Open CamiloGarciaLaRotta opened this issue 2 years ago • 0 comments

👋🏽

Describe the bug We had to remove windows-latest from the os matrix for the Build and Test CI job. It was failing on a single test: CI job in question.

To Reproduce run the when action fails with fail_fast › should handle missing input gracefully test in a Microsoft environment.

Expected behavior Linux and Mac runners pass. Windows should also pass. By passing we expect a non-200 error returned by the server.

Screenshots Instead, we get a 200 for IIS image

Additional context

  • identify why IIS is returning 200
    • log the request params to sanity check
  • remove the https://github.com/doctolib/jest-os-detection dependency (skipWindows)

CamiloGarciaLaRotta avatar Feb 09 '23 16:02 CamiloGarciaLaRotta