We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68c15bf + 68a2761 commit 4727e80Copy full SHA for 4727e80
test/nut/commands/force/org/org.nut.ts
@@ -6,7 +6,6 @@
6
*/
7
8
import { join } from 'path';
9
-import * as querystring from 'querystring';
10
import { expect, config } from 'chai';
11
import { TestSession } from '@salesforce/cli-plugins-testkit';
12
import { execCmd } from '@salesforce/cli-plugins-testkit';
@@ -184,7 +183,7 @@ describe('Org Command NUT', () => {
184
183
expect(result).to.include({ orgId: aliasUserOrgId, username: aliasedUsername });
185
expect(result)
186
.to.property('url')
187
- .to.include(`retURL=${querystring.escape('foo/bar/baz')}`);
+ .to.include(`retURL=${encodeURIComponent(decodeURIComponent('foo/bar/baz'))}`);
188
});
189
190
0 commit comments