NativeScript / NativeScript/nativescript-cli
Boostrapping Shared Code Project Unit Tests
Đang mở
@NathanWalker đang làm issue này rồi.
Từ ngày 9/6/2020.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.