import './tests/test-examples'; import { runTests, tests, TestContext} from '@datagrok-libraries/utils/src/test'; import * as DG from 'datagrok-api/dg'; export let _package = new DG.Package(); export { tests }; //name: test //input: string category {optional: true} //input: string test {optional: true} //input: object testContext {optional: true} //output: dataframe result export async function test(category: string, test: string, testContext: TestContext): Promise { const data = await runTests({ category, test, testContext }); return DG.DataFrame.fromObjects(data)!; }