Skip to content

Commit b3d07ed

Browse files
committed
test: update import to fix stubbing
1 parent cc2d23e commit b3d07ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shared/orgListUtil.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
import { isObject } from '@salesforce/ts-types';
2222
import { Record } from 'jsforce';
2323
import { omit } from '@salesforce/kit';
24-
import { getAliasByUsername } from './utils.js';
24+
import utils from './utils.js';
2525
import {
2626
ScratchOrgInfoSObject,
2727
ExtendedAuthFields,
@@ -71,7 +71,7 @@ export class OrgListUtil {
7171
userFilenames: string[],
7272
skipConnection = false
7373
): Promise<OrgGroupsFullyPopulated> {
74-
const contents: AuthInfo[] = await OrgListUtil.readAuthFiles(userFilenames);
74+
const contents = await OrgListUtil.readAuthFiles(userFilenames);
7575
const orgs = await OrgListUtil.groupOrgs(contents);
7676

7777
// parallelize two very independent operations
@@ -208,7 +208,7 @@ export class OrgListUtil {
208208
}
209209

210210
const [alias, lastUsed] = await Promise.all([
211-
getAliasByUsername(currentValue.username),
211+
utils.getAliasByUsername(currentValue.username),
212212
fs.stat(join(Global.SFDX_DIR, `${currentValue.username}.json`)),
213213
]);
214214

0 commit comments

Comments
 (0)