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 20d4e84 commit 90a2a3cCopy full SHA for 90a2a3c
test/nut/commands/force/org/open.nut.ts
@@ -21,9 +21,10 @@ describe('test org:open command', () => {
21
it('org:open command', async () => {
22
const result = execCmd('force:org:open --urlonly --json', {
23
ensureExitCode: 0,
24
- }).jsonOutput.result;
+ }).jsonOutput.result as { url: string; orgId: string; username: string };
25
expect(result).to.be.ok;
26
- expect(result).to.have.key('url').and.to.include('/secur/frontdoor.jsp');
+ expect(result).to.have.keys(['url', 'orgId', 'username']);
27
+ expect(result?.url).to.include('/secur/frontdoor.jsp');
28
});
29
30
after(async () => {
0 commit comments