Not able to run unit tests successfully in an integrated nx monorepo.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- angular, typescript
- 領域
- build-system, testing
調査の方向性
apps/nativescript-saas と libs/nativescript、libs/shared の統合された Nx レイアウトから始め、次にアプリと spec の設定で使用されている ts.config の参照を比較します。Issue にリンクされている NativeScript unit test v3 runner のガイダンスを確認し、テストコマンドを再現します。ユニットテストでライブラリコードが解決され、正常に実行できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I have an integrated nx monorepo with a directory structure as follows.
apps/nativescript-saas which has my nativescript app written with angular
libs/nativescript contains some base components for which are extended by nativescript app.
libs/shared contains some shared components which I also use for my web-app
I have all the configs in place and my libs are referenced in ts.config both spec and app.
The issue is that my tests files do not recognise the code libs in libs directory although when I run it normally everything works fine. I have looked at the the unit test v3 runner here Link but it doesn't also work as expected.
My question is of there is any reference repo where this was setup and tested? Or it could potentially be an issue.
- 主要言語
- TypeScript
- スター
- 68
- フォーク
- 15
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/nx のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
NativeScript/nx#88 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
NativeScript/nx#84 · コメント 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
NativeScript/nx#80 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NativeScript/nx#76 ·
-
answered question
NativeScript/nx#74 · コメント 3 件 · 担当者 1 名 ·
NativeScript/nx の issue をすべて見る
似ている issue
-
Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenNSW/nsw-srilanka#497 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
digidem/comapeo-cloud-app#403 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100