microsoft / microsoft/vscode

Refactor test configuration file to use robust path joining and modern standards

Open
#334,666 0 comments 0 reactions 1 assignee Claimed by @TylerLeonhardt View on GitHub
stale triage-needed
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

**Problem/Feature Description**
In the VS Code test configuration file, path concatenations like `${__dirname}/.build/...` rely on string interpolation. This can cause platform-specific path separator issues across operating systems.

**Proposed Solution**
- Update path concatenations to use robust cross-platform methods like `path.join(__dirname, '.build', 'crashes')` and `path.join(__dirname, '.build', 'logs', 'integration-tests')`.
- Refactor array/argument structures to align with modern TypeScript and JavaScript standards.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.