NativeScript / NativeScript/nativescript-cli

Boostrapping Shared Code Project Unit Tests

オープン
#5,321 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

2020年6月9日 から。

主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

説明

Hello,

Im having trouble to get a working unit test project running.
Using this commands here:

mkdir tmp
cd /tmp/x
npm install @nativescript/schematics
ng new -c=@nativescript/schematics testproject --shared --style=scss
cd testproject
tns test init -> mocha
tns test android

This fails:

  • Somehow it doesnt include *.ts compiling and complains..
  • The example test just fails (because of that)
  • The Nativescript/Angular Framework is not bootstrapped (and i really dont know how to do this inside the example.ts)

Anyone have a working setup? Can you tell me what i did wrong ? Because i followed more or less the docs..

Edit:

I think its related to
https://github.com/NativeScript/nativescript-cli/issues/5281
and
https://github.com/NativeScript/nativescript-cli/issues/5277

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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