NativeScript / NativeScript/nativescript-cli

Boostrapping Shared Code Project Unit Tests

Abierto
#5,321 2 comentarios 0 reacciones 1 asignado Ver en GitHub

@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

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.