Skip to content

Commit f752cb1

Browse files
Copilotanthonykim1
andcommitted
Fix formatting issues in pytest installation helper tests
Co-authored-by: anthonykim1 <[email protected]>
1 parent 536808a commit f752cb1

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

src/test/testing/configuration/pytestInstallationHelper.unit.test.ts

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ suite('PytestInstallationHelper', () => {
3333

3434
test('promptToInstallPytest should return false if user selects ignore', async () => {
3535
appShell
36-
.setup((a) => a.showInformationMessage(TypeMoq.It.isAny(), TypeMoq.It.isAny(), TypeMoq.It.isAny(), TypeMoq.It.isAny()))
36+
.setup((a) =>
37+
a.showInformationMessage(
38+
TypeMoq.It.isAny(),
39+
TypeMoq.It.isAny(),
40+
TypeMoq.It.isAny(),
41+
TypeMoq.It.isAny(),
42+
),
43+
)
3744
.returns(() => Promise.resolve('Ignore'))
3845
.verifiable(TypeMoq.Times.once());
3946

@@ -45,7 +52,14 @@ suite('PytestInstallationHelper', () => {
4552

4653
test('promptToInstallPytest should return false if user cancels', async () => {
4754
appShell
48-
.setup((a) => a.showInformationMessage(TypeMoq.It.isAny(), TypeMoq.It.isAny(), TypeMoq.It.isAny(), TypeMoq.It.isAny()))
55+
.setup((a) =>
56+
a.showInformationMessage(
57+
TypeMoq.It.isAny(),
58+
TypeMoq.It.isAny(),
59+
TypeMoq.It.isAny(),
60+
TypeMoq.It.isAny(),
61+
),
62+
)
4963
.returns(() => Promise.resolve(undefined))
5064
.verifiable(TypeMoq.Times.once());
5165

@@ -68,7 +82,14 @@ suite('PytestInstallationHelper', () => {
6882
useEnvExtensionStub.returns(false);
6983

7084
appShell
71-
.setup((a) => a.showInformationMessage(TypeMoq.It.isAny(), TypeMoq.It.isAny(), TypeMoq.It.isAny(), TypeMoq.It.isAny()))
85+
.setup((a) =>
86+
a.showInformationMessage(
87+
TypeMoq.It.isAny(),
88+
TypeMoq.It.isAny(),
89+
TypeMoq.It.isAny(),
90+
TypeMoq.It.isAny(),
91+
),
92+
)
7293
.returns(() => Promise.resolve('Install pytest'))
7394
.verifiable(TypeMoq.Times.once());
7495

0 commit comments

Comments
 (0)