Skip to content

Commit 16ee899

Browse files
IlyaasKclaude
andcommitted
style: prettier-format pagination test
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 994749d commit 16ee899

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

tests/pagination.test.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@ import Kernel, { KernelError } from '@onkernel/sdk';
22
import { OffsetPagination } from '@onkernel/sdk/core/pagination';
33
import type { FinalRequestOptions } from '@onkernel/sdk/internal/request-options';
44

5-
const client = new Kernel({ apiKey: 'test-api-key', fetch: () => Promise.reject(new Error('unexpected request')) });
5+
const client = new Kernel({
6+
apiKey: 'test-api-key',
7+
fetch: () => Promise.reject(new Error('unexpected request')),
8+
});
69

7-
function pageWith(headers: Record<string, string>, items: unknown[], offset?: number): OffsetPagination<unknown> {
10+
function pageWith(
11+
headers: Record<string, string>,
12+
items: unknown[],
13+
offset?: number,
14+
): OffsetPagination<unknown> {
815
const options: FinalRequestOptions = {
916
method: 'get',
1017
path: '/proxies',

0 commit comments

Comments
 (0)