Skip to content

Commit 4293ffd

Browse files
chore(lint): apply lint fixes
1 parent 2f71fb6 commit 4293ffd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/sdk/src/lib/types/commonTypes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export interface SearchableDataSchema
123123
export type MatchOptions = {
124124
useVoucher: boolean;
125125
voucherAddress?: string;
126+
allowDeposit?: boolean;
126127
};
127128

128129
export type DefaultWorkerpoolConsumer = {

packages/sdk/tests/e2e/dataProtectorCore/processProtectedData.test.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,10 +483,11 @@ describe('dataProtectorCore.processProtectedData() (waitForResult: false)', () =
483483
expect(caughtError).toBeInstanceOf(Error);
484484
expect(caughtError?.message).toBe('Failed to process protected data');
485485
const causeMsg =
486-
caughtError?.errorCause?.message ||
487-
caughtError?.cause?.message ||
488-
caughtError?.cause ||
489-
caughtError?.errorCause;
486+
(caughtError as any)?.errorCause?.message ||
487+
(caughtError as any)?.cause?.message ||
488+
(caughtError as any)?.cause ||
489+
(caughtError as any)?.errorCause;
490+
490491
expect(causeMsg).toBe(
491492
`Cost per task (${workerpoolprice} nRlc) is greater than requester account stake (0). Orders can't be matched. If you are the requester, you should deposit to top up your account`
492493
);

0 commit comments

Comments
 (0)