Skip to content

Commit 626aab7

Browse files
committed
fix 15
1 parent 21ee3f4 commit 626aab7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tests/e2e/src/vscode.runner.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,14 @@ import { VScodeScripts } from './helpers/scripts/vscodeScripts'
5656
})
5757
}
5858

59-
const testFilesEnv = process.env.TEST_FILES;
59+
let testFilesEnv = process.env.TEST_FILES
6060
if (testFilesEnv) {
61-
const fullPaths = testFilesEnv.split('\n').map((file) => {
62-
return path.join(__dirname, '..', 'dist', file);
63-
});
64-
65-
console.log('Full Paths:', fullPaths);
61+
testFilesEnv.split('\n').map(file => {
62+
testFilesEnv = path.join(__dirname, '..', 'dist', file)
63+
})
64+
console.log('Full Paths:', testFilesEnv)
6665
} else {
67-
console.error('TEST_FILES environment variable is not defined.');
66+
console.error('TEST_FILES environment variable is not defined.')
6867
}
6968

7069
// Run tests

0 commit comments

Comments
 (0)