nylas-nodejs
nylas-nodejs copied to clipboard
Investigate and test github issue 673
Investigated GitHub issue #673 regarding URL encoding. The investigation concluded that the issue is not a legitimate bug in the current SDK, as the setQueryStrings method correctly handles URL encoding.
This PR adds a comprehensive suite of tests to events.spec.ts to validate URL construction and encoding. These tests cover basic encoding, special characters, array parameters, metadata pairs, and ensure no double-encoding occurs, thus preventing future regressions related to URL query parameter handling.
License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.