NativeScript / NativeScript/nativescript-cli
Boostrapping Shared Code Project Unit Tests
Offen
@NathanWalker arbeitet bereits daran.
Seit 09.6.2020.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.