Skip to content

Commit 7ded34c

Browse files
committed
Dont mess up my path
1 parent 6d78547 commit 7ded34c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/features/terminalEnvVarInjector.unit.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ suite('TerminalEnvVarInjector', () => {
146146
getConfigurationStub.returns(
147147
createMockConfig({
148148
useEnvFile: false,
149-
envFilePath: '${workspaceFolder}/.env.local',
149+
envFilePath: '${workspaceFolder}/.env',
150150
}) as WorkspaceConfiguration,
151151
);
152152
envVarManager
@@ -194,7 +194,7 @@ suite('TerminalEnvVarInjector', () => {
194194
getConfigurationStub.returns(
195195
createMockConfig({
196196
useEnvFile: false,
197-
envFilePath: '${workspaceFolder}/.env.production',
197+
envFilePath: '${workspaceFolder}/.env',
198198
}) as WorkspaceConfiguration,
199199
);
200200
envVarManager
@@ -208,7 +208,7 @@ suite('TerminalEnvVarInjector', () => {
208208
});
209209

210210
test('different envFile paths should not matter when useEnvFile is false', async () => {
211-
const pathConfigs = [undefined, '', '.env', '.env.local', '${workspaceFolder}/.env', '/absolute/path/.env'];
211+
const pathConfigs = [undefined, '', '.env', '${workspaceFolder}/.env', '/absolute/path/.env'];
212212

213213
for (const envFilePath of pathConfigs) {
214214
mockScopedCollection.replace.resetHistory();

0 commit comments

Comments
 (0)