@memori.ai/memori-api-client
Version:
React library to integrate a Memori in your app or website
24 lines (20 loc) • 625 B
text/typescript
import memori from '../index';
const client = memori('https://backend.memori.ai');
describe('backend/process api', () => {
it('works on process apis', async () => {
expect(
await client.backend.process.getProcessStatus(
'768b9654-e781-4c3c-81fa-ae1529d1bfbe',
'be2e4a44-890b-483b-a26a-f6e122f36e2b'
)
).not.toBeNull();
});
it('works on process apis with shorthand version', async () => {
expect(
await client.backend.getProcessStatus(
'768b9654-e781-4c3c-81fa-ae1529d1bfbe',
'be2e4a44-890b-483b-a26a-f6e122f36e2b'
)
).not.toBeNull();
});
});