import { appendURLQuery } from '../functions/url' describe('sodash/url', () => { test('appendURLQuery', () => { expect(appendURLQuery('https://www.google.com', { a: 1, b: 'c' })).toBe( 'https://www.google.com?a=1&b=c', ) expect(appendURLQuery('https://www.google.com?a=1', { b: 'c' })).toBe( 'https://www.google.com?a=1&b=c', ) }) })