Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feature] Update the VSIX path used by smoke tests

クローズ 初心者向け
#3,002 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@EmmaYuan1015 がすでに取り組んでいます。

2026年10月14日 から。

  • #3001 @EmmaYuan1015 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
testing

調査の方向性

問題のあるパスは、test/smoke 配下の VSIX スモークテストコードにある path.resolve(__dirname, "..", "..", "resources", "extension") の呼び出しです。issue ではファイル名が示されていないため、この呼び出しを検索して特定してください。コンパイル済みテストから test/smoke/out 内に解決後のディレクトリをログ出力し、test/resources/extension を指していることを確認します。解決先が test/smoke/resources/extension になり、VSIX テストがスキップされずファイルを見つけられるようになり、パスが再び移動した場合に回帰チェックが失敗すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Description

The VSIX smoke tests resolve the extension resource directory using two parent-directory segments:

path.resolve(__dirname, "..", "..", "resources", "extension");

At runtime, the compiled test is located under:

test/smoke/out

As a result, the current path resolves to:

test/resources/extension

Instead of the intended directory:

test/smoke/resources/extension

This is not detected because the existing tests are skipped when the resolved directory or VSIX does not exist.

Expected behavior

The smoke tests should resolve and validate VSIX files from:

test/smoke/resources/extension

Proposed fix

  • Remove the extra parent-directory segment:
path.resolve(__dirname, "..", "resources", "extension");
  • Ensure the smoke tests use the intended VSIX resource directory.
  • Add a regression check to prevent the path from resolving to the wrong directory.
主要言語
TypeScript
スター
2.7k
フォーク
298
平均マージ
14時間 54分
マージ済み PR(30日)
28

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/vscode-react-native のほかの issue

microsoft/vscode-react-native の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。