Files
kittycad.ts/__tests__/gen/constant-get_physics_constant.test.ts

15 lines
380 B
TypeScript
Raw Normal View History

import { constant } from '../../src/index.js';
async function example() {
const response = await constant.get_physics_constant({ constant: 'pi' });
if ('error_code' in response) throw response;
return response;
}
describe('Testing constant.get_physics_constant', () => {
it('should be truthy or throw', async () => {
expect(await example()).toBeTruthy();
});
});