Skip to content

Commit f309ffc

Browse files
committed
fix lint
1 parent b0235c7 commit f309ffc

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

tests/api-resources/beta/messages/batches.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -190,18 +190,6 @@ describe('resource batches', () => {
190190
).rejects.toThrow(Anthropic.NotFoundError);
191191
});
192192

193-
// Prism doesn't support JSONL responses yet
194-
test.skip('results', async () => {
195-
const responsePromise = client.beta.messages.batches.results('message_batch_id');
196-
const rawResponse = await responsePromise.asResponse();
197-
expect(rawResponse).toBeInstanceOf(Response);
198-
const response = await responsePromise;
199-
expect(response).not.toBeInstanceOf(Response);
200-
const dataAndResponse = await responsePromise.withResponse();
201-
expect(dataAndResponse.data).toBe(response);
202-
expect(dataAndResponse.response).toBe(rawResponse);
203-
});
204-
205193
// Prism doesn't support JSONL responses yet
206194
test.skip('results: request options instead of params are passed correctly', async () => {
207195
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error

tests/api-resources/messages/batches.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -154,18 +154,6 @@ describe('resource batches', () => {
154154
).rejects.toThrow(Anthropic.NotFoundError);
155155
});
156156

157-
// Prism doesn't support JSONL responses yet
158-
test.skip('results', async () => {
159-
const responsePromise = client.messages.batches.results('message_batch_id');
160-
const rawResponse = await responsePromise.asResponse();
161-
expect(rawResponse).toBeInstanceOf(Response);
162-
const response = await responsePromise;
163-
expect(response).not.toBeInstanceOf(Response);
164-
const dataAndResponse = await responsePromise.withResponse();
165-
expect(dataAndResponse.data).toBe(response);
166-
expect(dataAndResponse.response).toBe(rawResponse);
167-
});
168-
169157
// Prism doesn't support JSONL responses yet
170158
test.skip('results: request options instead of params are passed correctly', async () => {
171159
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error

0 commit comments

Comments
 (0)