Skip to content

Commit f3722be

Browse files
chore(internal): codegen related update
1 parent c1aa375 commit f3722be

2 files changed

Lines changed: 15 additions & 16 deletions

File tree

tests/api-resources/beta.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const client = new Grid({
88
});
99

1010
describe('resource beta', () => {
11-
// skipped: tests are disabled for the time being
11+
// Prism tests are disabled
1212
test.skip('getWorkbookLabels', async () => {
1313
const responsePromise = client.beta.getWorkbookLabels('id');
1414
const rawResponse = await responsePromise.asResponse();
@@ -20,7 +20,7 @@ describe('resource beta', () => {
2020
expect(dataAndResponse.response).toBe(rawResponse);
2121
});
2222

23-
// skipped: tests are disabled for the time being
23+
// Prism tests are disabled
2424
test.skip('getWorkbookParameters', async () => {
2525
const responsePromise = client.beta.getWorkbookParameters('id');
2626
const rawResponse = await responsePromise.asResponse();
@@ -32,7 +32,7 @@ describe('resource beta', () => {
3232
expect(dataAndResponse.response).toBe(rawResponse);
3333
});
3434

35-
// skipped: tests are disabled for the time being
35+
// Prism tests are disabled
3636
test.skip('searchLabels: only required params', async () => {
3737
const responsePromise = client.beta.searchLabels({ query: 'profit' });
3838
const rawResponse = await responsePromise.asResponse();
@@ -44,7 +44,7 @@ describe('resource beta', () => {
4444
expect(dataAndResponse.response).toBe(rawResponse);
4545
});
4646

47-
// skipped: tests are disabled for the time being
47+
// Prism tests are disabled
4848
test.skip('searchLabels: required and optional params', async () => {
4949
const response = await client.beta.searchLabels({ query: 'profit', max_labels: 20, max_results: 10 });
5050
});

tests/api-resources/workbooks.test.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const client = new Grid({
88
});
99

1010
describe('resource workbooks', () => {
11-
// skipped: tests are disabled for the time being
11+
// Prism tests are disabled
1212
test.skip('list', async () => {
1313
const responsePromise = client.workbooks.list();
1414
const rawResponse = await responsePromise.asResponse();
@@ -20,15 +20,15 @@ describe('resource workbooks', () => {
2020
expect(dataAndResponse.response).toBe(rawResponse);
2121
});
2222

23-
// skipped: tests are disabled for the time being
23+
// Prism tests are disabled
2424
test.skip('list: request options and params are passed correctly', async () => {
2525
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
2626
await expect(
2727
client.workbooks.list({ cursor: 'cursor', limit: 0 }, { path: '/_stainless_unknown_path' }),
2828
).rejects.toThrow(Grid.NotFoundError);
2929
});
3030

31-
// skipped: tests are disabled for the time being
31+
// Prism tests are disabled
3232
test.skip('calc: only required params', async () => {
3333
const responsePromise = client.workbooks.calc('id', { read: ['A1'] });
3434
const rawResponse = await responsePromise.asResponse();
@@ -40,12 +40,12 @@ describe('resource workbooks', () => {
4040
expect(dataAndResponse.response).toBe(rawResponse);
4141
});
4242

43-
// skipped: tests are disabled for the time being
43+
// Prism tests are disabled
4444
test.skip('calc: required and optional params', async () => {
4545
const response = await client.workbooks.calc('id', { read: ['A1'], apply: { foo: 1234 } });
4646
});
4747

48-
// skipped: tests are disabled for the time being
48+
// Prism tests are disabled
4949
test.skip('query: only required params', async () => {
5050
const responsePromise = client.workbooks.query('id', { read: ['A1', 'Sheet2!B3', '=SUM(A1:A4)'] });
5151
const rawResponse = await responsePromise.asResponse();
@@ -57,7 +57,7 @@ describe('resource workbooks', () => {
5757
expect(dataAndResponse.response).toBe(rawResponse);
5858
});
5959

60-
// skipped: tests are disabled for the time being
60+
// Prism tests are disabled
6161
test.skip('query: required and optional params', async () => {
6262
const response = await client.workbooks.query('id', {
6363
read: ['A1', 'Sheet2!B3', '=SUM(A1:A4)'],
@@ -67,8 +67,7 @@ describe('resource workbooks', () => {
6767
});
6868
});
6969

70-
// skipped: tests are disabled for the time being
71-
test.skip('renderChart: required and optional params', async () => {
70+
test('renderChart: required and optional params', async () => {
7271
const response = await client.workbooks.renderChart('id', {
7372
chart: {
7473
axisDim: { numberFormat: '#,##0.0', reverse: 'false', title: '=C4' },
@@ -107,7 +106,7 @@ describe('resource workbooks', () => {
107106
});
108107
});
109108

110-
// skipped: tests are disabled for the time being
109+
// Prism tests are disabled
111110
test.skip('upload: only required params', async () => {
112111
const responsePromise = client.workbooks.upload({
113112
file: await toFile(Buffer.from('# my file contents'), 'README.md'),
@@ -121,14 +120,14 @@ describe('resource workbooks', () => {
121120
expect(dataAndResponse.response).toBe(rawResponse);
122121
});
123122

124-
// skipped: tests are disabled for the time being
123+
// Prism tests are disabled
125124
test.skip('upload: required and optional params', async () => {
126125
const response = await client.workbooks.upload({
127126
file: await toFile(Buffer.from('# my file contents'), 'README.md'),
128127
});
129128
});
130129

131-
// skipped: tests are disabled for the time being
130+
// Prism tests are disabled
132131
test.skip('values: only required params', async () => {
133132
const responsePromise = client.workbooks.values('id', { read: ['A1'] });
134133
const rawResponse = await responsePromise.asResponse();
@@ -140,7 +139,7 @@ describe('resource workbooks', () => {
140139
expect(dataAndResponse.response).toBe(rawResponse);
141140
});
142141

143-
// skipped: tests are disabled for the time being
142+
// Prism tests are disabled
144143
test.skip('values: required and optional params', async () => {
145144
const response = await client.workbooks.values('id', { read: ['A1'], apply: { foo: 1234 } });
146145
});

0 commit comments

Comments
 (0)