Skip to content

The open alternative to Salesforce, designed for AI.

260 B
Raw Blame
import request from 'supertest';

export const makeUnauthenticatedApiRequest = async (query: string) => {
  const client = request(`http://localhost:${APP_PORT}`);

  return client
    .post('/admin-panel')
    .send({
      query,
    })
    .expect(200);
};