@memori.ai/memori-api-client
Version:
React library to integrate a Memori in your app or website
22 lines (18 loc) • 572 B
text/typescript
import memori from '../index';
const client = memori('https://backend.memori.ai');
describe('engine/unansweredQuestions api', () => {
it('works on unansweredQuestions apis', async () => {
expect(
await client.unansweredQuestions.getUnansweredQuestions(
'768b9654-e781-4c3c-81fa-ae1529d1bfbe'
)
).not.toBeNull();
});
it('works on unansweredQuestions apis with shorthand version', async () => {
expect(
await client.getUnansweredQuestions(
'768b9654-e781-4c3c-81fa-ae1529d1bfbe'
)
).not.toBeNull();
});
});