Skip to content

Commit b09f351

Browse files
committed
still test stringifyQuery
1 parent d4de8c8 commit b09f351

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/unit/specs/query.spec.js

+10
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,14 @@ describe('Query utils', () => {
1010
}))
1111
})
1212
})
13+
14+
describe('stringifyQuery', () => {
15+
it('should work', () => {
16+
expect(stringifyQuery({
17+
foo: 'bar',
18+
baz: 'qux',
19+
arr: [1, 2]
20+
})).toBe('?foo=bar&baz=qux&arr=1&arr=2')
21+
})
22+
})
1323
})

0 commit comments

Comments
 (0)