File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ describe('test org:open command', () => {
5555 defaultOrgInstanceUrl = defaultOrg . instanceUrl as string ;
5656 } ) ;
5757
58- it ( 'will get the correct url (harccoded )' , ( ) => {
58+ it ( 'will get the correct url (hardcoded )' , ( ) => {
5959 const result = execCmd < OrgOpenOutput > ( 'org open authoring-bundle --urlonly --json' , { ensureExitCode : 0 } )
6060 . jsonOutput ! . result ;
6161 assert ( result ) ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import path from 'node:path';
1919import { parseJsonMap } from '@salesforce/kit' ;
2020import { execCmd , genUniqueString , TestSession } from '@salesforce/cli-plugins-testkit' ;
2121import { assert , expect } from 'chai' ;
22- import { AuthFields , Messages , Global } from '@salesforce/core' ;
22+ import { AuthFields , Global , Messages } from '@salesforce/core' ;
2323import { ScratchCreateResponse } from '../../src/shared/orgTypes.js' ;
2424
2525Messages . importMessagesDirectoryFromMetaUrl ( import . meta. url ) ;
@@ -63,11 +63,11 @@ describe('env create scratch NUTs', () => {
6363 } ) ;
6464 it ( 'prompts for client secret if client id present and times out' , ( ) => {
6565 const error = execCmd ( 'org:create:scratch --edition developer --client-id someConnectedApp' , {
66- ensureExitCode : 'nonZero' ,
66+ ensureExitCode : 1 ,
6767 } ) . shellOutput ;
6868 expect ( error . stdout ) . to . include ( messages . getMessage ( 'prompt.secret' ) ) ;
6969 // this is the message from the prompt library when .cancel is called on timeout
70- expect ( error . stderr ) . to . include ( 'Prompt was canceled ' ) ;
70+ expect ( error . stderr ) . to . include ( 'Prompt timed out. ' ) ;
7171 } ) ;
7272 } ) ;
7373
You can’t perform that action at this time.
0 commit comments