Skip to content

Commit

Permalink
Building
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Oliveira Santos committed Nov 3, 2019
1 parent b1ef598 commit 23e0805
Show file tree
Hide file tree
Showing 11 changed files with 499 additions and 48 deletions.
32 changes: 27 additions & 5 deletions build/src/expect-call.js

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

2 changes: 1 addition & 1 deletion build/src/expect-call.js.map

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

1 change: 1 addition & 0 deletions build/src/expect-call.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
98 changes: 98 additions & 0 deletions build/src/expect-call.spec.js

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

1 change: 1 addition & 0 deletions build/src/expect-call.spec.js.map

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

13 changes: 11 additions & 2 deletions build/src/strict-describers.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
declare type ClassOf<T> = new () => T;
export declare function prepare<T>(service: T, prototype: T, methodToTest: keyof T): [string, Function][];
export declare const testUtils: {
prepare<T>(service: T, prototype: T, methodToTest: keyof T): [string, Function][];
mountTest<T_1>(service: () => T_1, prototype: T_1, methodName: keyof T_1, callback: () => any): void;
};
export declare function describeMethod<T>(service: () => T, cls: ClassOf<T>, methodName: keyof T, callback: () => any): void;
export declare function describeMethodOnly<T>(service: () => T, cls: ClassOf<T>, methodName: keyof T, callback: () => any): void;
export declare function describeMethodSkip<T>(service: () => T, cls: ClassOf<T>, methodName: keyof T, callback: () => any): void;
export declare function describeStaticMethod<T>(cls: T, methodName: keyof T, callback: () => any): void;
export declare function describeStaticMethodOnly<T>(cls: T, methodName: keyof T, callback: () => any): void;
export declare function describeStaticMethodSkip<T>(cls: T, methodName: keyof T, callback: () => any): void;
interface BaseSuiteFunction {
<T>(service: () => T, cls: ClassOf<T>, title: keyof T, fn: () => any): any;
}
interface BaseStaticSuiteFunction {
<T>(cls: ClassOf<T>, title: keyof ClassOf<T>, fn: () => any): any;
<T>(cls: T, title: keyof T, fn: () => any): any;
}
interface StaticSuiteFunction extends BaseStaticSuiteFunction {
only: BaseStaticSuiteFunction;
Expand Down
93 changes: 54 additions & 39 deletions build/src/strict-describers.js

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

Loading

0 comments on commit 23e0805

Please sign in to comment.