Skip to content

Commit

Permalink
chore: release v4.0.1 (#114)
Browse files Browse the repository at this point in the history
* chore: release v4.0.1

* Update CHANGELOG.md

* chore: fix spec

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Grenishin <[email protected]>
Co-authored-by: nd0ut <[email protected]>
  • Loading branch information
4 people authored Aug 8, 2024
1 parent ba10e92 commit 9837976
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [4.0.1](https://github.com/uploadcare/ngx-uploadcare-widget/compare/v4.0.0...v4.0.1) (2024-08-08)

No changes

# [4.0.0](https://github.com/uploadcare/ngx-uploadcare-widget/compare/v3.0.2...v4.0.0) (2022-07-13)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-uploadcare-widget",
"version": "4.0.0",
"version": "4.0.1",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-uploadcare-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngx-uploadcare-widget",
"description": "Angular 2+ wrapper for Uploadcare Widget",
"version": "4.0.0",
"version": "4.0.1",
"repository": {
"type": "git",
"url": "git+https://github.com/uploadcare/ngx-uploadcare-widget.git"
Expand Down
4 changes: 2 additions & 2 deletions projects/ngx-uploadcare-widget/src/_versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export interface TsAppVersion {
gitTag?: string;
};
export const versions: TsAppVersion = {
version: '4.0.0',
version: '4.0.1',
name: 'ngx-uploadcare-widget',
versionDate: '2022-07-13T13:40:06.757Z',
versionDate: '2024-08-08T16:14:55.388Z',
description: 'Angular 2+ wrapper for Uploadcare Widget',
};
export default versions;
Original file line number Diff line number Diff line change
Expand Up @@ -43,32 +43,32 @@ describe('Custom Widget Component', () => {
component.validators = validators;
};

beforeEach(async(() => {
beforeEach(() => {
TestBed.configureTestingModule({
declarations: [
UcWidgetCustomComponent
],
}).compileComponents();
}));
});

it('should initialize the component', async(() => {
it('should initialize the component', () => {
const fixture = TestBed.createComponent(UcWidgetCustomComponent);
const comp = fixture.debugElement.componentInstance;
expect(comp).toBeTruthy();
}));
});

it('should have as default value of publickey', async(() => {
it('should have as default value of publickey', () => {
const fixture = TestBed.createComponent(UcWidgetCustomComponent);
const comp = fixture.debugElement.componentInstance;
expect(comp.publicKey).toEqual('demopublickey');
}));
});

it('call of "openDialog()" successfull', async(() => {
it('call of "openDialog()" successful', () => {
const fixture = TestBed.createComponent(UcWidgetCustomComponent);
const component = fixture.debugElement.componentInstance;
initComponent(component);
fixture.detectChanges();
component.openDialog();
expect(1).toBe(1);
}));
});
});

0 comments on commit 9837976

Please sign in to comment.