NativeScript / NativeScript/nativescript-cli
Allow configuring karma with TypeScript: karma.conf.ts
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
Is your feature request related to a problem? Please describe.
Allowing the developer to configure karma and be able to type check
Describe the solution you'd like
In the file lib/services/test-execution-service.ts the value for karma config is hardcoded on the line 326. Is it possible to discover the config file in the order similar to the one on the karma website: https://karma-runner.github.io/3.0/config/configuration-file.html ?
Describe alternatives you've considered
Additional context
Here is the location of the code discovering test file in the karma: https://github.com/karma-runner/karma/blob/master/lib/cli.js#L114..L129
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
lib/services/test-execution-service.ts の 326 行目付近を読み、ハードコードされた Karma 設定の選択を、lib/cli.js の 114-129 行目にある Karma の検出ロジックと比較してください。CLI が karma.conf.ts 設定を検出して使用でき、開発者が Karma 設定を型チェックできるようになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- cli, testing
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100