Skip to content

Commit

Permalink
chore: everything working except get pdas
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth9890 committed Nov 20, 2023
1 parent 9deaaaa commit 191cdd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pda/PDA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class PDA {
try {
return await this.sdk.PDAs_query({ filter, order, skip, take });
} catch (error) {
console.log(error);
throw new Error(errorHandler(error));
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/pda.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('PDA TESTING', () => {
it(
'pdas',
async () => {
const { PDAs } = await api.pda.getPDAs({});
const { PDAs } = await api.pda.getPDAs({ skip: 0, take: 10 });
expect(PDAs.length).toBeGreaterThanOrEqual(0);
},
DEFAULT_TIMEOUT,
Expand Down

0 comments on commit 191cdd7

Please sign in to comment.