diff --git a/test.js b/test.js index 550a204..9eb0137 100644 --- a/test.js +++ b/test.js @@ -86,4 +86,12 @@ if (isWsl) { test('open URL in specified windows app with arguments given a wsl path to the app', async () => { await open('https://sindresorhus.com', {app: [chromeWslName, '--incognito']}); }); + + test('open URL with query strings and spaces works with url option', async () => { + await open('https://sindresorhus.com/?abc=123&def=456&ghi=with spaces', { url: true }); + }); + + test('open URL with query strings works with url option', async () => { + await open('https://sindresorhus.com/?abc=123&def=456', { url: true }); + }); }