Files
kittycad.ts/__tests__/gen/unit-get_charge_unit_conversion.test.ts

19 lines
442 B
TypeScript
Raw Normal View History

import { unit } from '../../src/index.js';
async function example() {
const response = await unit.get_charge_unit_conversion({
output_format: 'coulomb',
src_format: 'ampere_hour',
value: 7,
});
if ('error_code' in response) throw response;
return response;
}
describe('Testing unit.get_charge_unit_conversion', () => {
it('should be truthy or throw', async () => {
expect(await example()).toBeTruthy();
});
});