cloudflare/cloudflare-typescript

Public

mirrored from https://github.com/cloudflare/cloudflare-typescriptAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
953cc492e714cfda9711f67ff4bfbf22845f40eb

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

tests/api-resources/addressing/loa-documents.test.ts

18lines · modecode

1// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
3import Cloudflare from 'cloudflare';
4
5const client = new Cloudflare({
6 apiKey: '144c9defac04969c7bfad8efaa8ea194',
7 apiEmail: 'user@example.com',
8 baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010',
9});
10
11describe('resource loaDocuments', () => {
12 // TODO: address broken spotlight error - https://github.com/cloudflare/cloudflare-typescript/actions/runs/9456639475/job/26048931174?pr=498#step:5:489
13 test.skip('get: required and optional params', async () => {
14 const response = await client.addressing.loaDocuments.get('d933b1530bc56c9953cf8ce166da8004', {
15 account_id: '258def64c72dae45f3e4c8516e2111f2',
16 });
17 });
18});