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.
1 parent 27368e9 commit 68a2761Copy full SHA for 68a2761
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