From 5abcf0418c1c907985869f9c1b1ca11f89d2a48d Mon Sep 17 00:00:00 2001 From: taleb Date: Wed, 6 Feb 2019 19:29:35 +0000 Subject: [PATCH] Improve test coverage and confirm release --- package-lock.json | 2 +- package.json | 2 +- .../src/app/config.service.spec.ts | 16 ++++++++++++++++ projects/annotation-ui-lib/package-lock.json | 2 +- projects/annotation-ui-lib/package.json | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 projects/annotation-ui-app/src/app/config.service.spec.ts diff --git a/package-lock.json b/package-lock.json index d4dd88d..6c56164 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@hmcts/annotation-ui-lib", - "version": "1.0.16-RC", + "version": "1.0.16", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ed024f1..d18dd4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hmcts/annotation-ui-lib", - "version": "1.0.16-RC", + "version": "1.0.16", "scripts": { "ng": "ng", "start": "ng serve", diff --git a/projects/annotation-ui-app/src/app/config.service.spec.ts b/projects/annotation-ui-app/src/app/config.service.spec.ts new file mode 100644 index 0000000..efa7f26 --- /dev/null +++ b/projects/annotation-ui-app/src/app/config.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed, inject } from '@angular/core/testing'; +import { ConfigService } from './config.service'; +import { TransferState } from '@angular/platform-browser'; + +describe('ConfigService', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + providers: [ ConfigService, TransferState ] + }); + }); + + it('should be created', inject([ ConfigService ], (service: ConfigService) => { + expect(service).toBeTruthy(); + })); + +}); diff --git a/projects/annotation-ui-lib/package-lock.json b/projects/annotation-ui-lib/package-lock.json index ad5279e..6bfb25e 100644 --- a/projects/annotation-ui-lib/package-lock.json +++ b/projects/annotation-ui-lib/package-lock.json @@ -1,6 +1,6 @@ { "name": "@hmcts/annotation-ui-lib", - "version": "1.0.16-RC", + "version": "1.0.16", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/projects/annotation-ui-lib/package.json b/projects/annotation-ui-lib/package.json index d19493d..5311c5d 100644 --- a/projects/annotation-ui-lib/package.json +++ b/projects/annotation-ui-lib/package.json @@ -1,6 +1,6 @@ { "name": "@hmcts/annotation-ui-lib", - "version": "1.0.16-RC", + "version": "1.0.16", "description": "PDF Viewer and ability to highlight text with and comment tracking", "keywords": [ "Angular",