Comparing version 6.2.2 to 6.2.3
181
CHANGELOG.md
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="6.2.3"></a> | ||
## 6.2.3 (2018-10-02) | ||
### Bug Fixes | ||
* **MockPlural:** removing generic type from MockComponents, Directives, and Pipes ([919a06c](https://github.com/ike18t/ng-mocks/commit/919a06c)) | ||
<a name="6.2.2"></a> | ||
@@ -177,2 +187,12 @@ ## 6.2.2 (2018-10-02) | ||
<a name="6.2.2"></a> | ||
## 6.2.2 (2018-10-02) | ||
### Bug Fixes | ||
* **MockModule:** Never mock CommonModule ([119dd80](https://github.com/ike18t/ng-mocks/commit/119dd80)) | ||
<a name="6.2.1"></a> | ||
@@ -339,2 +359,7 @@ ## 6.2.1 (2018-08-28) | ||
<a name="6.2.1"></a> | ||
## 6.2.1 (2018-08-28) | ||
<a name="6.2.0"></a> | ||
@@ -496,2 +521,12 @@ # 6.2.0 (2018-08-28) | ||
<a name="6.2.0"></a> | ||
# 6.2.0 (2018-08-28) | ||
### Features | ||
* add a MockedComponent type ([fe547af](https://github.com/ike18t/ng-mocks/commit/fe547af)) | ||
<a name="6.1.0"></a> | ||
@@ -643,2 +678,12 @@ # 6.1.0 (2018-06-04) | ||
<a name="6.1.0"></a> | ||
# 6.1.0 (2018-06-04) | ||
### Features | ||
* support structural directives ([050e70c](https://github.com/ike18t/ng-mocks/commit/050e70c)) | ||
<a name="6.0.1"></a> | ||
@@ -650,2 +695,138 @@ ## 6.0.1 (2018-05-15) | ||
* package json peer dep version range ([8ad3834](https://github.com/ike18t/ng-mocks/commit/8ad3834)) | ||
<a name="6.0.0"></a> | ||
# 6.0.0 (2018-05-14) | ||
### Features | ||
* support angular 6 and test 5 & 6 in travis ([5bc9331](https://github.com/ike18t/ng-mocks/commit/5bc9331)) | ||
<a name="5.3.0"></a> | ||
# 5.3.0 (2018-04-05) | ||
### Features | ||
* MockOf - Include mocked class names in mock class names ([8b149f5](https://github.com/ike18t/ng-mocks/commit/8b149f5)) | ||
<a name="5.2.0"></a> | ||
# 5.2.0 (2018-03-30) | ||
### Features | ||
* Use Angular annotation resolvers ([4050d10](https://github.com/ike18t/ng-mocks/commit/4050d10)) | ||
<a name="5.1.0"></a> | ||
# 5.1.0 (2018-03-25) | ||
### Bug Fixes | ||
* Add a null check for decorator args ([1058044](https://github.com/ike18t/ng-mocks/commit/1058044)) | ||
### Features | ||
* Support Angular propDecorators inputs and outputs ([add374d](https://github.com/ike18t/ng-mocks/commit/add374d)) | ||
<a name="5.0.0"></a> | ||
# 5.0.0 (2018-03-25) | ||
### Bug Fixes | ||
* Fix bad return value from mock-directive ([4659a32](https://github.com/ike18t/ng-mocks/commit/4659a32)) | ||
* multiple decorators on an input ([13874b9](https://github.com/ike18t/ng-mocks/commit/13874b9)) | ||
* Outdated package-lock ([7623e98](https://github.com/ike18t/ng-mocks/commit/7623e98)) | ||
### Features | ||
* add functions to mass mock ([fee5a03](https://github.com/ike18t/ng-mocks/commit/fee5a03)) | ||
* Cleanup exports and export MockDeclaration from MockModule ([9fe2bb1](https://github.com/ike18t/ng-mocks/commit/9fe2bb1)) | ||
* mock directives now have event emitter bound outputs ([bac1ca5](https://github.com/ike18t/ng-mocks/commit/bac1ca5)) | ||
<a name="5.0.0-rc5"></a> | ||
# 5.0.0-rc5 (2018-03-07) | ||
### Bug Fixes | ||
* package json typings location ([5f6fde0](https://github.com/ike18t/ng-mocks/commit/5f6fde0)) | ||
<a name="5.0.0-rc4"></a> | ||
# 5.0.0-rc4 (2018-03-07) | ||
<a name="5.0.0-rc3"></a> | ||
# 5.0.0-rc3 (2018-03-07) | ||
### Bug Fixes | ||
* integrate mock-pipe ([d747517](https://github.com/ike18t/ng-mocks/commit/d747517)) | ||
* mock_direcive integration ([7f02f7b](https://github.com/ike18t/ng-mocks/commit/7f02f7b)) | ||
### Features | ||
* merge in mock-module ([05eaebe](https://github.com/ike18t/ng-mocks/commit/05eaebe)) | ||
* support inputs and outputs from extended components ([fc46838](https://github.com/ike18t/ng-mocks/commit/fc46838)) | ||
<a name="5.0.0-rc1"></a> | ||
# 5.0.0-rc1 (2018-02-10) | ||
### Bug Fixes | ||
* add reflect-metadata back to devDeps ([385c9c4](https://github.com/ike18t/ng-mocks/commit/385c9c4)) | ||
* Add support for directives with a different kind of meta ([0bd38cc](https://github.com/ike18t/ng-mocks/commit/0bd38cc)) | ||
* add testbed test that exposed now fixed issue ([610cbdc](https://github.com/ike18t/ng-mocks/commit/610cbdc)) | ||
* forgot how to use js reduce ([de518d4](https://github.com/ike18t/ng-mocks/commit/de518d4)) | ||
* instantiate event emitters in component constructor ([fb4b97d](https://github.com/ike18t/ng-mocks/commit/fb4b97d)) | ||
* module exports is now all declarations ([fbb0e73](https://github.com/ike18t/ng-mocks/commit/fbb0e73)) | ||
* output binding ([59f476d](https://github.com/ike18t/ng-mocks/commit/59f476d)) | ||
* works with component w/o inputs or outputs ([b3d38e7](https://github.com/ike18t/ng-mocks/commit/b3d38e7)) | ||
### Features | ||
* add exportAs and alias support ([14a1474](https://github.com/ike18t/ng-mocks/commit/14a1474)) | ||
* add support for exportAs and input aliases ([9b42a21](https://github.com/ike18t/ng-mocks/commit/9b42a21)) | ||
* Adding angular 2 compatibility and moving to peerDependency ([#3](https://github.com/ike18t/ng-mocks/issues/3)) ([4bd93db](https://github.com/ike18t/ng-mocks/commit/4bd93db)) | ||
* component mock implements control value accessor to support ngModel binding ([67ea7c4](https://github.com/ike18t/ng-mocks/commit/67ea7c4)) | ||
* initial implementation ([893f83b](https://github.com/ike18t/ng-mocks/commit/893f83b)) | ||
* memoize function by arg ([031e3a6](https://github.com/ike18t/ng-mocks/commit/031e3a6)) | ||
* memoize function by arg ([cac00b3](https://github.com/ike18t/ng-mocks/commit/cac00b3)) | ||
* mock module providers ([49b2272](https://github.com/ike18t/ng-mocks/commit/49b2272)) | ||
* Upgrade to angular 5 and pull in testbed for tests ([7df64a8](https://github.com/ike18t/ng-mocks/commit/7df64a8)) | ||
<a name="6.0.1"></a> | ||
## 6.0.1 (2018-05-15) | ||
### Bug Fixes | ||
* Fix peer dependencies | ||
@@ -652,0 +833,0 @@ |
@@ -6,3 +6,3 @@ import { Type } from '@angular/core'; | ||
}; | ||
export declare function MockComponents<TComponent>(...components: Array<Type<TComponent>>): Array<Type<TComponent>>; | ||
export declare function MockComponents(...components: Array<Type<any>>): Array<Type<any>>; | ||
export declare function MockComponent<TComponent>(component: Type<TComponent>): Type<TComponent>; |
@@ -34,2 +34,3 @@ "use strict"; | ||
}; | ||
var CustomFormControlComponent_1; | ||
__decorate([ | ||
@@ -53,5 +54,4 @@ core_1.Input(), | ||
return CustomFormControlComponent; | ||
var CustomFormControlComponent_1; | ||
}()); | ||
exports.CustomFormControlComponent = CustomFormControlComponent; | ||
//# sourceMappingURL=custom-form-control.component.js.map |
import { Type } from '@angular/core'; | ||
export declare function MockDirectives<TDirective>(...directives: Array<Type<TDirective>>): Array<Type<TDirective>>; | ||
export declare function MockDirectives(...directives: Array<Type<any>>): Array<Type<any>>; | ||
export declare function MockDirective<TDirective>(directive: Type<TDirective>): Type<TDirective>; |
@@ -30,2 +30,3 @@ "use strict"; | ||
imports.forEach(function (imPort) { | ||
var _a, _b, _c; | ||
var result = MockIt(imPort); | ||
@@ -35,3 +36,2 @@ (_a = mockedModule.declarations).push.apply(_a, result.declarations); | ||
(_c = mockedModule.exports).push.apply(_c, result.declarations); | ||
var _a, _b, _c; | ||
}); | ||
@@ -38,0 +38,0 @@ return mockedModule; |
import { PipeTransform, Type } from '@angular/core'; | ||
export declare function MockPipes<TPipe extends PipeTransform>(...pipes: Array<Type<TPipe>>): Array<Type<TPipe>>; | ||
export declare function MockPipes(...pipes: Array<Type<PipeTransform>>): Array<Type<PipeTransform>>; | ||
export declare function MockPipe<TPipe extends PipeTransform>(pipe: Type<TPipe>, transform?: TPipe['transform']): Type<TPipe>; |
{ | ||
"name": "ng-mocks", | ||
"version": "6.2.2", | ||
"version": "6.2.3", | ||
"description": "Functions for creating angular mocks", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
117455
1150