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