actual/packages/api/test.js

9 lines
180 B
JavaScript
Raw Normal View History

2022-04-29 02:44:38 +00:00
let api = require('./index');
async function run() {
let app = await api.init({ config: { dataDir: '/tmp' } });
await app.send('create-budget', { testMode: true });
}
run();