Skip to content

Commit 0141683

Browse files
committed
fix for bug
1 parent 197fd9b commit 0141683

File tree

15 files changed

+151
-78
lines changed

15 files changed

+151
-78
lines changed

dist/spec/index.test.js

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/spec/index.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Context.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@ export declare class ProxyObjectContext {
3939
constructor();
4040
setExpectations(count: number, negated: boolean): void;
4141
findActualPropertyCalls(propertyName: string): ProxyCallRecord[];
42-
findActualMethodCalls(propertyName: string, args: any[]): ProxyCallRecord[];
42+
findActualMethodCalls(propertyName: string, args?: any[]): ProxyCallRecord[];
4343
getLastCall(): ProxyCallRecord;
4444
addActualPropertyCall(): void;
45+
fixExistingCallArguments(): void;
4546
}
4647
export declare class ProxyCallRecord {
4748
callCount: number;
4849
property: ProxyPropertyContext | ProxyMethodPropertyContext;
50+
argumentsSnapshot: any[];
4951
constructor(property?: ProxyPropertyContext | ProxyMethodPropertyContext);
5052
}

dist/src/Context.js

Lines changed: 15 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Context.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Substitute.js

Lines changed: 26 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Substitute.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Utilities.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Utilities.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)