Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit 9435a0d

Browse files
committed
fix: 🐛 fix compilation issues
1 parent ad482fd commit 9435a0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test_utils/mocked_methods.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { PolyResponse } from '@polymathnetwork/abi-wrappers';
33

44
export class MockedCallMethod {
5-
public callAsync(): Promise<void> {
5+
public callAsync(...args: any): Promise<any> { // eslint-disable-line
66
return Promise.resolve();
77
}
88

@@ -12,15 +12,15 @@ export class MockedCallMethod {
1212
}
1313

1414
export class MockedSendMethod extends MockedCallMethod {
15-
public sendTransactionAsync(): Promise<void> {
15+
public sendTransactionAsync(...args: any): Promise<any> { // eslint-disable-line
1616
return Promise.resolve();
1717
}
1818

19-
public estimateGasAsync(): Promise<void> {
19+
public estimateGasAsync(...args: any): Promise<any> { // eslint-disable-line
2020
return Promise.resolve();
2121
}
2222

23-
public getABIEncodedTransactionData(): string {
23+
public getABIEncodedTransactionData(): string {
2424
return '';
2525
}
2626
}

0 commit comments

Comments
 (0)