e2e testing

This commit is contained in:
2026-06-15 19:17:13 +05:30
parent 896561245d
commit 01685f14c2
18 changed files with 1102 additions and 198 deletions

14
test-api.ts Normal file
View File

@@ -0,0 +1,14 @@
import { getOrderInsight } from './src/services/fiestaApi.ts';
import { fiestaGet } from './src/services/fiestaApi.ts';
async function test() {
const res = await fiestaGet('orders/gettimeseries', {
tenantid: 1087,
granularity: 'day',
fromdate: '2026-05-15',
todate: '2026-06-15'
});
console.log(JSON.stringify(res, null, 2));
}
test();