0.0.2 • Published 7 years ago

nativescript-unit-test-runner-angular-compatibility-hook v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

NativeScript tests hook

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.

Example

app
|-- feature
     |- feature.component.html
     |- feature.component.ts
     |- feature.component.spec.ts

Installation

Npm

npm install nativescript-tests-hook --save-dev