#60 coverage and tets for core component

This commit is contained in:
Mario Romano
2016-05-16 19:17:22 +01:00
parent fbb94189e7
commit 874b6c0a31
9 changed files with 228 additions and 208 deletions

View File

@@ -16,7 +16,6 @@ npm install --save ng2-alfresco-upload
```
## Build from sources
Alternatively you can build component from sources with the following commands:
@@ -64,3 +63,18 @@ This component, provide a drag and drop are to upload files to alfresco.
#### Options
**showDialogUpload**: {boolean} optional) default true. Hide/show upload dialog.<br />
## Running unit tests
```sh
npm test
```
This task rebuilds all the code, runs tslint, license checks and other quality check tools
before performing unit testing.
## Code coverage
```sh
npm run coverage
```