NativeScript / NativeScript/nativescript-cli
Boostrapping Shared Code Project Unit Tests
未關閉
@NathanWalker 已經在處理了。
開始於 2020年6月9日。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
評估
這個 Issue 還沒有評估資料。