NativeScript / NativeScript/nativescript-cli
Boostrapping Shared Code Project Unit Tests
Abierto
@NathanWalker ya está trabajando en esto.
Desde el 9/6/2020.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.1k
- Forks
- 204
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 8
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.