Files
kittycad.ts/__tests__/gen/file-get_file_conversion.test.ts

19 lines
463 B
TypeScript
Raw Normal View History

import { file } from '../../src/index.js';
async function example() {
const response = await file.get_file_conversion({ id: 'string' });
if ('error_code' in response) throw response;
return response;
}
describe('Testing file.get_file_conversion', () => {
it('should be truthy or throw', async () => {
try {
await example();
} catch (err) {
expect(err).toBeTruthy(); // eslint-disable-line jest/no-conditional-expect
}
});
});