From 9ba1af3b84ef788eced73552b60b54ded7c9b375 Mon Sep 17 00:00:00 2001 From: Thomas Meitz Date: Mon, 13 Nov 2017 11:12:30 +0100 Subject: [PATCH] maintenance infos; small bug fixed in specs. --- README.md | 4 ++++ src/ngx-uploader/classes/ngx-uploader.class.spec.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e299e05..6d53750c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ Angular 2+ File Uploader http://ngx-uploader.com +### Maintenance Information +We are actively maintain the 4.x branch. +The 2.x and 3.x are outdated and you should *NOT* use this branches any more. Therefore all open issues for that releases will be closed soon. + **This module has been completely rewritten from scratch with the version `3.0.0`.** If you are looking for documentation for version prior to `3.0.0`, please check [2.x.x](https://github.com/jkuri/ngx-uploader/tree/2.x.x) branch. diff --git a/src/ngx-uploader/classes/ngx-uploader.class.spec.ts b/src/ngx-uploader/classes/ngx-uploader.class.spec.ts index 1cb86d88..c41411b0 100644 --- a/src/ngx-uploader/classes/ngx-uploader.class.spec.ts +++ b/src/ngx-uploader/classes/ngx-uploader.class.spec.ts @@ -10,7 +10,7 @@ describe('NgUploaderService constructor', () => { it('should return [\'image/jpeg\']', () => { let uploader = new NgUploaderService(1, ['image/jpeg']); expect(uploader.contentTypes.length).toEqual(1); - expect(uploader.contentTypes).not.toContain('*') + expect(uploader.contentTypes).not.toContain('*'); expect(uploader.contentTypes).toContain('image/jpeg'); expect(uploader.contentTypes).toEqual(['image/jpeg']); });