Workaround for NativeScript to run unit tests located in source code (Angular style guide)
Workaround for running unit tests located in source code (according to Angular style guide)
Currently NativeScript runs spec files located in app/tests. This hook copies all source code (in app) to a .tmp folder inside app/tests, so NativeScript can run unit tests that follow the Angular style guide.
app |-- feature |- feature.component.html |- feature.component.ts |- feature.component.spec.ts
npm install nativescript-tests-hook --save-dev
10 downloads in the last month
2 downloads in the last week
0 downloads in the last day