jasmine-auto-spies
Advanced tools
| import { ClassType, OnlyMethodKeysOf } from '@hirez_io/auto-spies-core'; | ||
| import { ClassSpyConfiguration } from './create-spy-from-class'; | ||
| import { Spy } from './jasmine-auto-spies.types'; | ||
| export declare type AngularValueProvider<T> = { | ||
| provide: ClassType<T>; | ||
| useValue: Spy<T>; | ||
| }; | ||
| export declare function provideAutoSpy<T>(ObjectClass: ClassType<T>, methodsToSpyOnOrConfig?: OnlyMethodKeysOf<T>[] | ClassSpyConfiguration<T>): AngularValueProvider<T>; |
| /// <reference types="jasmine" /> | ||
| import { AddSpyMethodsByReturnTypes } from '.'; | ||
| import { Func } from '@hirez_io/auto-spies-core'; | ||
| export declare function createFunctionSpy<FunctionType extends Func>(name: string): AddSpyMethodsByReturnTypes<FunctionType, jasmine.Spy>; |
| import { Spy } from './jasmine-auto-spies.types'; | ||
| import { OnlyMethodKeysOf, ClassSpyConfiguration, ClassType } from '@hirez_io/auto-spies-core'; | ||
| export { ClassSpyConfiguration } from '@hirez_io/auto-spies-core'; | ||
| export declare function createSpyFromClass<T>(ObjectClass: ClassType<T>, methodsToSpyOnOrConfig?: OnlyMethodKeysOf<T>[] | ClassSpyConfiguration<T>): Spy<T>; |
| export * from './jasmine-auto-spies.types'; | ||
| export { createSpyFromClass, ClassSpyConfiguration } from './create-spy-from-class'; | ||
| export { createFunctionSpy } from './create-function-spy'; | ||
| export { createObservableWithValues } from '@hirez_io/auto-spies-core'; | ||
| export * from './angular-provider-helper'; |
| /// <reference types="jasmine" /> | ||
| import { Observable } from 'rxjs'; | ||
| import { AddObservableSpyMethods, AddPromiseSpyMethods, Func, AddAccessorsSpies, CreateSyncAutoSpy, CreateObservableAutoSpy, CreatePromiseAutoSpy } from '@hirez_io/auto-spies-core'; | ||
| export declare type Spy<ClassToSpyOn> = AddAutoSpies<ClassToSpyOn, jasmine.Spy> & AddAccessorsSpies<ClassToSpyOn, jasmine.Spy>; | ||
| declare type AddAutoSpies<ClassToSpyOn, LibSpecificFunctionSpy> = { | ||
| [Key in keyof ClassToSpyOn]: ClassToSpyOn[Key] extends Func ? AddSpyMethodsByReturnTypes<ClassToSpyOn[Key], LibSpecificFunctionSpy> : ClassToSpyOn[Key] extends Observable<infer ObservableReturnType> ? ClassToSpyOn[Key] & AddObservableSpyMethods<ObservableReturnType> : ClassToSpyOn[Key]; | ||
| }; | ||
| export declare type AddSpyMethodsByReturnTypes<Method extends Func, LibSpecificFunctionSpy> = Method & (Method extends (...args: any[]) => infer ReturnType ? ReturnType extends Promise<infer PromiseReturnType> ? CreatePromiseAutoSpy<LibSpecificFunctionSpy, AddPromisesToJasmineFunctionSpy<PromiseReturnType>, PromiseReturnType> : ReturnType extends Observable<infer ObservableReturnType> ? CreateObservableAutoSpy<LibSpecificFunctionSpy, AddObservablesToJasmineFunctionSpy<ObservableReturnType>, ObservableReturnType> : CreateSyncAutoSpy<Method, LibSpecificFunctionSpy, AddCalledWithToJasmineFunctionSpy> : never); | ||
| declare type AddPromisesToJasmineFunctionSpy<PromiseReturnType> = { | ||
| and: AddPromiseSpyMethods<PromiseReturnType>; | ||
| }; | ||
| declare type AddObservablesToJasmineFunctionSpy<ObservableReturnType> = { | ||
| and: AddObservableSpyMethods<ObservableReturnType>; | ||
| }; | ||
| export interface AddCalledWithToJasmineFunctionSpy { | ||
| calledWith(...args: any[]): { | ||
| returnValue: (value: any) => void; | ||
| }; | ||
| mustBeCalledWith(...args: any[]): { | ||
| returnValue: (value: any) => void; | ||
| }; | ||
| } | ||
| export {}; |
| export {}; |
| import { Observable, Subject } from 'rxjs'; | ||
| export declare class FakeClass { | ||
| someProp: number; | ||
| observableProp: Observable<any>; | ||
| subjectProp: Subject<any>; | ||
| get observablePropAsGetter(): Observable<any>; | ||
| getSyncValue(): string; | ||
| getPromise(): Promise<any>; | ||
| getObservable(): Observable<any>; | ||
| getSubject(): Subject<any>; | ||
| arrowMethod: () => void; | ||
| } | ||
| export declare class FakeChildClass extends FakeClass { | ||
| anotherObservableMethod(): Observable<any>; | ||
| } | ||
| export declare class FakeGetterSetterClass extends FakeClass { | ||
| private _myProp; | ||
| get myProp(): string; | ||
| set myProp(value: string); | ||
| get anotherGetter(): number; | ||
| set mySetter(value: number); | ||
| myFunction(): void; | ||
| } | ||
| export declare abstract class FakeAbstractClass { | ||
| getSyncValue(): string; | ||
| abstract needToImplementThis(): string; | ||
| } |
| export {}; |
| export {}; |
| export {}; |
+8
-0
@@ -6,2 +6,10 @@ # Change Log | ||
| ## [6.9.7](https://github.com/hirezio/auto-spies/compare/jasmine-auto-spies@6.9.6...jasmine-auto-spies@6.9.7) (2022-01-01) | ||
| **Note:** Version bump only for package jasmine-auto-spies | ||
| ## [6.9.6](https://github.com/hirezio/auto-spies/compare/jasmine-auto-spies@6.9.5...jasmine-auto-spies@6.9.6) (2021-12-31) | ||
@@ -8,0 +16,0 @@ |
@@ -10,3 +10,3 @@ "use strict"; | ||
| provide: ObjectClass, | ||
| useValue: create_spy_from_class_1.createSpyFromClass(ObjectClass, methodsToSpyOnOrConfig), | ||
| useValue: (0, create_spy_from_class_1.createSpyFromClass)(ObjectClass, methodsToSpyOnOrConfig), | ||
| }; | ||
@@ -13,0 +13,0 @@ } |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"angular-provider-helper.js","sourceRoot":"","sources":["../src/angular-provider-helper.ts"],"names":[],"mappings":";AAAA,mEAAmE;AACnE,gCAAgC;;;AAGhC,iEAAoF;AAQpF,SAAgB,cAAc,CAC5B,WAAyB,EACzB,sBAAyE;IAEzE,OAAO;QACL,OAAO,EAAE,WAAW;QACpB,QAAQ,EAAE,0CAAkB,CAAC,WAAW,EAAE,sBAAsB,CAAC;KAClE,CAAC;AACJ,CAAC;AARD,wCAQC"} | ||
| {"version":3,"file":"angular-provider-helper.js","sourceRoot":"","sources":["../src/angular-provider-helper.ts"],"names":[],"mappings":";AAAA,mEAAmE;AACnE,gCAAgC;;;AAGhC,iEAAoF;AAQpF,SAAgB,cAAc,CAC5B,WAAyB,EACzB,sBAAyE;IAEzE,OAAO;QACL,OAAO,EAAE,WAAW;QACpB,QAAQ,EAAE,IAAA,0CAAkB,EAAC,WAAW,EAAE,sBAAsB,CAAC;KAClE,CAAC;AACJ,CAAC;AARD,wCAQC"} |
@@ -6,3 +6,3 @@ "use strict"; | ||
| function createFunctionSpy(name) { | ||
| return auto_spies_core_1.createFunctionAutoSpy(name, addJasmineSyncMethodsToCalledWithObject, jasmineFunctionSpyFactory); | ||
| return (0, auto_spies_core_1.createFunctionAutoSpy)(name, addJasmineSyncMethodsToCalledWithObject, jasmineFunctionSpyFactory); | ||
| } | ||
@@ -9,0 +9,0 @@ exports.createFunctionSpy = createFunctionSpy; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"create-function-spy.js","sourceRoot":"","sources":["../src/create-function-spy.ts"],"names":[],"mappings":";;;AACA,6DAA0F;AAI1F,SAAgB,iBAAiB,CAC/B,IAAY;IAEZ,OAAO,uCAAqB,CAC1B,IAAI,EACJ,uCAAuC,EACvC,yBAAyB,CAC1B,CAAC;AACJ,CAAC;AARD,8CAQC;AAED,SAAS,yBAAyB,CAAC,IAAY,EAAE,eAAqB;IACpE,IAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC5C,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IAC1C,OAAO;QACL,WAAW,aAAA;QACX,uBAAuB,EAAE,WAAW,CAAC,GAAG;KACzC,CAAC;AACJ,CAAC;AAED,SAAS,uCAAuC,CAC9C,gBAAqB,EACrB,cAAqB;IAErB,gBAAgB,CAAC,WAAW,GAAG,UAAC,KAAU;QACxC,gBAAgB,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,OAAA,EAAE,CAAC,CAAC;IAClE,CAAC,CAAC;IACF,OAAO,gBAAgB,CAAC;AAC1B,CAAC"} | ||
| {"version":3,"file":"create-function-spy.js","sourceRoot":"","sources":["../src/create-function-spy.ts"],"names":[],"mappings":";;;AACA,6DAA0F;AAI1F,SAAgB,iBAAiB,CAC/B,IAAY;IAEZ,OAAO,IAAA,uCAAqB,EAC1B,IAAI,EACJ,uCAAuC,EACvC,yBAAyB,CAC1B,CAAC;AACJ,CAAC;AARD,8CAQC;AAED,SAAS,yBAAyB,CAAC,IAAY,EAAE,eAAqB;IACpE,IAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC5C,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IAC1C,OAAO;QACL,WAAW,aAAA;QACX,uBAAuB,EAAE,WAAW,CAAC,GAAG;KACzC,CAAC;AACJ,CAAC;AAED,SAAS,uCAAuC,CAC9C,gBAAqB,EACrB,cAAqB;IAErB,gBAAgB,CAAC,WAAW,GAAG,UAAC,KAAU;QACxC,gBAAgB,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,OAAA,EAAE,CAAC,CAAC;IAClE,CAAC,CAAC;IACF,OAAO,gBAAgB,CAAC;AAC1B,CAAC"} |
@@ -7,3 +7,3 @@ "use strict"; | ||
| function createSpyFromClass(ObjectClass, methodsToSpyOnOrConfig) { | ||
| var autoSpy = auto_spies_core_1.createAutoSpyFromClass(ObjectClass, create_function_spy_1.createFunctionSpy, accessorSpyFactory, methodsToSpyOnOrConfig); | ||
| var autoSpy = (0, auto_spies_core_1.createAutoSpyFromClass)(ObjectClass, create_function_spy_1.createFunctionSpy, accessorSpyFactory, methodsToSpyOnOrConfig); | ||
| return autoSpy; | ||
@@ -10,0 +10,0 @@ } |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"create-spy-from-class.js","sourceRoot":"","sources":["../src/create-spy-from-class.ts"],"names":[],"mappings":";;;AACA,6DAA0D;AAC1D,6DAKmC;AAInC,SAAgB,kBAAkB,CAChC,WAAyB,EACzB,sBAAyE;IAEzE,IAAM,OAAO,GAAG,wCAAsB,CACpC,WAAW,EACX,uCAAiB,EACjB,kBAAkB,EAClB,sBAAsB,CACvB,CAAC;IACF,OAAO,OAAiB,CAAC;AAC3B,CAAC;AAXD,gDAWC;AAED,SAAS,kBAAkB,CACzB,OAAY,EACZ,YAAoB,EACpB,YAAiC;IAEjC,IAAI,YAAY,KAAK,QAAQ,EAAE;QAC7B,OAAO,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;KACpD;IACD,OAAO,aAAa,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;AAC9C,CAAC"} | ||
| {"version":3,"file":"create-spy-from-class.js","sourceRoot":"","sources":["../src/create-spy-from-class.ts"],"names":[],"mappings":";;;AACA,6DAA0D;AAC1D,6DAKmC;AAInC,SAAgB,kBAAkB,CAChC,WAAyB,EACzB,sBAAyE;IAEzE,IAAM,OAAO,GAAG,IAAA,wCAAsB,EACpC,WAAW,EACX,uCAAiB,EACjB,kBAAkB,EAClB,sBAAsB,CACvB,CAAC;IACF,OAAO,OAAiB,CAAC;AAC3B,CAAC;AAXD,gDAWC;AAED,SAAS,kBAAkB,CACzB,OAAY,EACZ,YAAoB,EACpB,YAAiC;IAEjC,IAAI,YAAY,KAAK,QAAQ,EAAE;QAC7B,OAAO,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;KACpD;IACD,OAAO,aAAa,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;AAC9C,CAAC"} |
+2
-1
@@ -10,5 +10,6 @@ "use strict"; | ||
| var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
| for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
| for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.createObservableWithValues = exports.createFunctionSpy = exports.createSpyFromClass = void 0; | ||
| __exportStar(require("./jasmine-auto-spies.types"), exports); | ||
@@ -15,0 +16,0 @@ var create_spy_from_class_1 = require("./create-spy-from-class"); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAA2C;AAC3C,iEAAoF;AAA3E,2HAAA,kBAAkB,OAAA;AAC3B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,6DAAuE;AAA9D,6HAAA,0BAA0B,OAAA;AACnC,4DAA0C"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,iEAAoF;AAA3E,2HAAA,kBAAkB,OAAA;AAC3B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,6DAAuE;AAA9D,6HAAA,0BAA0B,OAAA;AACnC,4DAA0C"} |
@@ -6,6 +6,8 @@ "use strict"; | ||
| ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
| function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
| function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
| return extendStatics(d, b); | ||
| }; | ||
| return function (d, b) { | ||
| if (typeof b !== "function" && b !== null) | ||
| throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
| extendStatics(d, b); | ||
@@ -41,3 +43,3 @@ function __() { this.constructor = d; } | ||
| FakeClass.prototype.getObservable = function () { | ||
| return rxjs_1.of(); | ||
| return (0, rxjs_1.of)(); | ||
| }; | ||
@@ -56,3 +58,3 @@ FakeClass.prototype.getSubject = function () { | ||
| FakeChildClass.prototype.anotherObservableMethod = function () { | ||
| return rxjs_1.of(); | ||
| return (0, rxjs_1.of)(); | ||
| }; | ||
@@ -59,0 +61,0 @@ return FakeChildClass; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"fake-classes-to-test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V;YACE,OAAO,IAAI,CAAC,OAAO,CAAC;QACtB,CAAC;aACD,UAAW,KAAa;YACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAHA;IAID,sBAAI,gDAAa;aAAjB;YACE,OAAO,CAAC,CAAC;QACX,CAAC;;;OAAA;IACD,sBAAI,2CAAQ;aAAZ,UAAa,KAAa,IAAG,CAAC;;;OAAA;IAE9B,0CAAU,GAAV,cAAoB,CAAC;IACvB,4BAAC;AAAD,CAAC,AAdD,CAA2C,SAAS,GAcnD;AAdY,sDAAqB;AAgBlC;IAAA;IAMA,CAAC;IALQ,wCAAY,GAAnB;QACE,OAAO,EAAE,CAAC;IACZ,CAAC;IAGH,wBAAC;AAAD,CAAC,AAND,IAMC;AANqB,8CAAiB"} |
+10
-8
| { | ||
| "name": "jasmine-auto-spies", | ||
| "version": "6.9.6", | ||
| "version": "6.9.7", | ||
| "author": { | ||
@@ -37,11 +37,13 @@ "name": "Shai Reznik", | ||
| "devDependencies": { | ||
| "@types/jasmine": "^3.5.14", | ||
| "jasmine-core": "3.6.0", | ||
| "@types/jasmine": "^3.10.2", | ||
| "@types/node": "17.0.5", | ||
| "buffer": "6.0.3", | ||
| "jasmine-core": "3.10.1", | ||
| "rimraf": "3.0.2", | ||
| "rxjs": "^6.0.0", | ||
| "ts-node": "^3.0.6", | ||
| "typescript": "^3.9.7" | ||
| "rxjs": "^7.5.1", | ||
| "ts-node": "^10.4.0", | ||
| "typescript": "^4.5.4" | ||
| }, | ||
| "dependencies": { | ||
| "@hirez_io/auto-spies-core": "1.6.5" | ||
| "@hirez_io/auto-spies-core": "1.6.6" | ||
| }, | ||
@@ -53,3 +55,3 @@ "peerDependencies": { | ||
| }, | ||
| "gitHead": "516e083bfdd30af77a334ea27d11e0767151f3de" | ||
| "gitHead": "731349d12356f7afc42b80ac70f2774154ad5d99" | ||
| } |
+1
-0
@@ -776,2 +776,3 @@ # jasmine-auto-spies | ||
| <td align="center"><a href="https://www.coding-academy.ca/"><img src="https://avatars0.githubusercontent.com/u/2942116?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Laurent Duveau </b></sub></a><br /><a href="https://github.com/hirezio/auto-spies/commits?author=ldex" title="Documentation">📖</a></td> | ||
| <td align="center"><a href="https://www.rainerhahnekamp.com"><img src="https://avatars.githubusercontent.com/u/5721205?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rainer Hahnekamp</b></sub></a><br /><a href="#maintenance-rainerhahnekamp" title="Maintenance">🚧</a></td> | ||
| </tr> | ||
@@ -778,0 +779,0 @@ </table> |
@@ -329,3 +329,3 @@ import { errorHandler } from '@hirez_io/auto-spies-core'; | ||
| let FAKE_VALUE2: FakeType; | ||
| let observerSpy2: SubscriberSpy<FakeType>; | ||
| let observerSpy2: SubscriberSpy<any>; | ||
@@ -332,0 +332,0 @@ Given(() => { |
+1
-1
@@ -6,5 +6,5 @@ { | ||
| "typeRoots": ["node_modules/types", "node_modules"], | ||
| "types": ["@hirez_io/jasmine-given"] | ||
| "types": ["@hirez_io/jasmine-given", "node"] | ||
| }, | ||
| "include": ["src"] | ||
| } |
@@ -7,2 +7,3 @@ { | ||
| "composite": true, | ||
| "declarationDir": "./dist", | ||
| "types": ["jasmine", "@hirez_io/jasmine-given", "node"] | ||
@@ -9,0 +10,0 @@ }, |
@@ -11,2 +11,5 @@ // eslint-disable-next-line @typescript-eslint/no-var-requires | ||
| plugins: [new TsconfigPathsPlugin({ configFile: '../../tsconfig.json' })], | ||
| fallback: { | ||
| buffer: require.resolve('buffer/'), | ||
| }, | ||
| }, | ||
@@ -13,0 +16,0 @@ module: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
49
25.64%1827
4.88%792
0.13%157259
-9.44%8
33.33%+ Added
+ Added
- Removed
- Removed