Skip to content

Commit

Permalink
maintenance infos; small bug fixed in specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
retailify authored and jkuri committed Nov 13, 2017
1 parent 8156bbb commit 9ba1af3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/ngx-uploader/classes/ngx-uploader.class.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
});
Expand Down

0 comments on commit 9ba1af3

Please sign in to comment.