Skip to content

Commit

Permalink
chore: update test spec description
Browse files Browse the repository at this point in the history
Co-authored-by: Luis H. Ball Jr. <lball@imgix.com>
  • Loading branch information
2 people authored and sherwinski committed Jan 13, 2023
1 parent f917451 commit d127a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-buildURL.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe('URL Builder:', function describeSuite() {
assert.strictEqual(result.substring(1), expectation);
});

it("does not encode the path any differently if the option second parameter is passed to the custom encoder", function testSpec() {
it("does not alter path encoding when custom encoder optional 'key' parameter is set", function testSpec() {
const expectation = path.replaceAll(' ', '+');
const result = client._sanitizePath(path, { encoder: (path, optionalValue) => path.replaceAll(' ', '+')});

Expand Down

0 comments on commit d127a88

Please sign in to comment.