Skip to content

Commit 3d1f0e7

Browse files
committed
Use a .env file in VS Code testing when available
1 parent 6885dcc commit 3d1f0e7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

integration/vscode/ada/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
/linux/
1414
/win32/
1515
/darwin/
16+
17+
# Generated by ANCR
18+
/.env

integration/vscode/ada/.vscode-test.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { defineConfig } from '@vscode/test-cli';
22
import { mkdtempSync } from 'fs';
33
import * as os from 'os';
44
import { join } from 'path';
5+
import * as dotenv from 'dotenv';
6+
7+
dotenv.config({ override: true });
8+
// console.log(process.env);
59

610
let baseMochaOptions = {
711
ui: 'tdd',

0 commit comments

Comments
 (0)