test: add test case for deserializing an unsupported enum value#246
test: add test case for deserializing an unsupported enum value#246mcnulty-fp wants to merge 5 commits into
Conversation
|
There was a problem hiding this comment.
Pull request overview
Adds a regression test in the mocked-response suite to ensure getEvent() can deserialize and return events even when the API response contains an enum value not currently supported by the SDK types.
Changes:
- Clear the
fetchmock call history before each test for better isolation. - Add a new test case that returns an event with an unsupported
proxy_details.proxy_typevalue and asserts the client returns it as-is.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
pnpm exec changesetto create a changeset. |
Coverage report
Test suite run success76 tests passing in 9 suites. Report generated by 🧪jest coverage report action from 0959762 Show full coverage report
|
|
@mcnulty-fp Thanks for this PR! I polished some minor details, ready for review |
No description provided.