Skip to content

Commit

Permalink
test(packages/sui-js): update to query string test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nacho Torrella committed Aug 1, 2024
1 parent 4e5f312 commit 605970e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sui-js/test/stringSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('@s-ui/js', () => {

it('should convert object params to query string without null values', () => {
const queryParams = {a: [1, null, 3]}
const options = {skipNulls: true}
const options = {encode: false, skipNulls: true}
const queryString = toQueryString(queryParams, options)

const expected = 'a[0]=1&a[2]=3'
Expand Down

0 comments on commit 605970e

Please sign in to comment.