Skip to content

Return a rejected Promise, and add test

Thong Kuah requested to merge test_proxy_not_configuredwq into main

Throwing an error is unnecessary when we can return a rejected Promise. We add a test as well to check this.

How to try this out

Run:

npx vitest

Merge request reports