pact-foundation / pact-stub-server

Standalone pact stub server
MIT License
75 stars 19 forks source link

Respect 'auto_cors' even if there is no match #17

Closed ghost closed 5 years ago

ghost commented 5 years ago

Otherwise, fetch() implementations will throw exceptions due to the non-standard server response.

It seems the code in main is not tested/testable just yet, please let me know if I got this wrong though.

uglyog commented 5 years ago

All good, it is a simple change and easy to verify. I'll think about integrated tests to test things like this.