Skip to content

Commit 849f4ab

Browse files
chore: break long lines in snippets into multiline
1 parent cda7644 commit 849f4ab

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

tests/api-resources/admin/user-connections.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ describe('resource userConnections', () => {
3131
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
3232
await expect(
3333
client.admin.userConnections.list(
34-
{ limit: 0, offset: 0, provider: { id: 'id' }, user: { id: 'id' } },
34+
{
35+
limit: 0,
36+
offset: 0,
37+
provider: { id: 'id' },
38+
user: { id: 'id' },
39+
},
3540
{ path: '/_stainless_unknown_path' },
3641
),
3742
).rejects.toThrow(Arcade.NotFoundError);

tests/api-resources/auth.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ const client = new Arcade({
1010

1111
describe('resource auth', () => {
1212
test('authorize: only required params', async () => {
13-
const responsePromise = client.auth.authorize({ auth_requirement: {}, user_id: 'user_id' });
13+
const responsePromise = client.auth.authorize({
14+
auth_requirement: {},
15+
user_id: 'user_id',
16+
});
1417
const rawResponse = await responsePromise.asResponse();
1518
expect(rawResponse).toBeInstanceOf(Response);
1619
const response = await responsePromise;

tests/api-resources/workers.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ describe('resource workers', () => {
2424
const response = await client.workers.create({
2525
id: 'id',
2626
enabled: true,
27-
http: { retry: 0, secret: 'secret', timeout: 1, uri: 'uri' },
27+
http: {
28+
retry: 0,
29+
secret: 'secret',
30+
timeout: 1,
31+
uri: 'uri',
32+
},
2833
mcp: {
2934
retry: 0,
3035
timeout: 1,

0 commit comments

Comments
 (0)