diff options
author | Idan Amit <ia096e@intl.att.com> | 2018-08-13 17:58:53 +0300 |
---|---|---|
committer | Idan Amit <ia096e@intl.att.com> | 2018-08-13 18:55:16 +0300 |
commit | e7154335e26e3e68bedd7ef09831982a33ab3aeb (patch) | |
tree | b71ff637504073ff884aa28a4955d573ddcab8c6 /package.json | |
parent | de26cd4b417cac55e38b8830b729d6443564f2fc (diff) |
Added tests to sdc-pubsub
Added tests files and coverage to sdc-pubsub
Change-Id: I45146ae8d18f229d92afb60208532a1a0ca4192a
Issue-ID: SDC-1542
Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/package.json b/package.json index 58bafb7..a075e40 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { "name": "sdc-pubsub", - "version": "1.0.20", + "version": "1.0.21", "description": "Publish Subscribe library using post message for sdc plugins", "main": "index.js", "author": "Idan Amit", "license": "Apache-2.0", "scripts": { "clean": "rimraf dist", - "build": "tsc && webpack --mode development" + "build": "tsc && webpack --mode development", + "test": "jest" }, "keywords": [ "sdc", @@ -15,11 +16,18 @@ "sdc-pubsub", "onap" ], + "jestSonar": { + "reportPath": "coverage" + }, "devDependencies": { + "@types/jest": "^23.3.1", "awesome-typescript-loader": "^3.1.3", + "jest": "^23.4.2", + "jest-sonar-reporter": "^2.0.0", + "rimraf": "^2.6.2", + "ts-jest": "^23.0.1", "typescript": "2.7.2", "webpack": "4.12.0", - "webpack-cli": "^3.1.0", - "rimraf": "^2.6.2" + "webpack-cli": "^3.1.0" } } |