Skip to content

Commit

Permalink
chore: removed console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth9890 committed Nov 21, 2023
1 parent 2cbb6b4 commit 3b694d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/pda/pda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ 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
6 changes: 5 additions & 1 deletion test/pda.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ describe('PDA SERVICE TESTING', () => {
it(
'pdas',
async () => {
const { PDAs } = await api.pda.getPDAs({ skip: 0, take: 10 });
const { PDAs } = await api.pda.getPDAs({
filter: { dataModelIds: [process.env.DATAMODEL_ID!] },
skip: 0,
take: 10,
});
expect(PDAs.length).toBeGreaterThanOrEqual(0);
},
DEFAULT_TIMEOUT,
Expand Down

0 comments on commit 3b694d7

Please sign in to comment.