Skip to content

Commit e440a6b

Browse files
committed
fix: test failure
1 parent c4bd6e0 commit e440a6b

7 files changed

Lines changed: 7 additions & 0 deletions

File tree

test/commands/project/deploy/pipeline/quick.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ describe('project deploy pipeline quick', () => {
129129
'../../../../../src/common/outputService/outputServiceFactory.js': {
130130
OutputServiceFactory: MockOutputServiceFactory,
131131
},
132+
'@salesforce/core': await import('@salesforce/core'),
132133
}
133134
);
134135
QuickCommand = mod.default;

test/commands/project/deploy/pipeline/report.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ describe('project deploy pipeline report', () => {
5252
'../../../../../src/common/selectors/deploymentResultsSelector.js': {
5353
selectOneDeploymentResultByAsyncJobId: selectOneDeploymentResultByAsyncJobIdStub,
5454
},
55+
'@salesforce/core': await import('@salesforce/core'),
5556
}
5657
);
5758
ReportCommand = mod.default;

test/commands/project/deploy/pipeline/resume.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ describe('project deploy pipeline resume', () => {
103103
'../../../../../src/common/outputService/outputServiceFactory.js': {
104104
OutputServiceFactory: MockOutputServiceFactory,
105105
},
106+
'@salesforce/core': await import('@salesforce/core'),
106107
}
107108
);
108109
ResumeCmd = mod.default;

test/commands/project/deploy/pipeline/start.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ describe('project deploy pipeline start', () => {
123123
'../../../../../src/common/outputService/outputServiceFactory.js': {
124124
OutputServiceFactory: MockOutputServiceFactory,
125125
},
126+
'@salesforce/core': await import('@salesforce/core'),
126127
}
127128
);
128129
StartCommand = mod.default;

test/commands/project/deploy/pipeline/validate.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ describe('project deploy pipeline validate', () => {
9999
'../../../../../src/common/outputService/outputServiceFactory.js': {
100100
OutputServiceFactory: MockOutputServiceFactory,
101101
},
102+
'@salesforce/core': await import('@salesforce/core'),
102103
}
103104
);
104105
ValidateCommand = mod.default;

test/common/outputService/promoteOutputService.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ describe('promoteOutputService', () => {
6767
'../../../src/common/utils.js': {
6868
getFormattedDeployComponentsByAyncOpId: getFormattedDeployComponentsByAyncOpIdStub,
6969
},
70+
'@salesforce/core': await import('@salesforce/core'),
7071
}
7172
);
7273
AbstractPromoteOutputServiceClass = mod.AbstractPromoteOutputService;

test/common/outputService/resumeCommandOutputService.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ describe('resume output', () => {
4545
'../../../src/common/selectors/deploymentResultsSelector.js': {
4646
isCheckDeploy: isCheckDeployStub,
4747
},
48+
'@salesforce/core': await import('@salesforce/core'),
4849
}
4950
);
5051
ResumeCommandOutputServiceClass = mod.ResumeCommandOutputService;

0 commit comments

Comments
 (0)