NativeScript / NativeScript/nativescript-cli
Boostrapping Shared Code Project Unit Tests
Aberta
@NathanWalker já está trabalhando nisso.
Desde 9/6/2020.
- Linguagem predominante
- JavaScript
- Estrelas
- 1.1k
- Forks
- 204
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 8
Descrição
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
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Avaliação
Esta issue ainda não foi avaliada.