Skip to content

Commit 782fd6f

Browse files
committed
edit tests
1 parent 26b0985 commit 782fd6f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/test/features/terminal/shellStartupSetupHandlers.unit.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,19 +133,16 @@ suite('Shell Startup Setup Handlers', () => {
133133
assert.strictEqual(exec.calledWith('python-envs.viewLogs'), true);
134134
});
135135

136-
test('handleSettingUpShellProfile: when user declines, does not run setup and does not change activation type', async () => {
136+
test('handleSettingUpShellProfile: when user declines, does not run setup', async () => {
137137
sinon.stub(windowApis, 'showInformationMessage').resolves(undefined);
138138

139-
const setAuto = sinon.stub(terminalUtils, 'setAutoActivationType').resolves();
140-
141139
const p1 = new TestStartupProvider('bash', 'bash');
142140
const p2 = new TestStartupProvider('zsh', 'zsh');
143141

144142
await handleSettingUpShellProfile([p1, p2], () => undefined);
145143

146144
assert.strictEqual(p1.setupCalls, 0);
147145
assert.strictEqual(p2.setupCalls, 0);
148-
assert.strictEqual(setAuto.called, false);
149146
});
150147

151148
test('cleanupStartupScripts: always calls teardown on all providers', async () => {

0 commit comments

Comments
 (0)