Skip to content

Commit e22ecf7

Browse files
committed
squash: fix tsc errors
1 parent 6df07d6 commit e22ecf7

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

workspaces/orchestrator/plugins/orchestrator-backend/src/helpers/queryBuilder.test.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,6 @@ describe('buildGraphQlQuery', () => {
3333
whereClause: 'version: "1.0"',
3434
};
3535

36-
const getPaginationString = (pagination: Pagination | undefined) => {
37-
const paginationOrder = pagination?.order
38-
? pagination.order.toUpperCase()
39-
: 'ASC';
40-
if (pagination) {
41-
return `orderBy: {${pagination.sortField}: ${paginationOrder}}, pagination: {limit: ${pagination.limit}, offset: ${pagination.offset}})`;
42-
}
43-
return undefined;
44-
};
45-
4636
type TestCase = {
4737
name: string;
4838
params: typeof defaultTestParams;

0 commit comments

Comments
 (0)