(ctx: any)
| 414 | const noMatchRes = await ctx.post(`${API_BASE}/doing/tasks/addToWorkflow`, { ...auth, data: { workflowId: "WFL00000002", stepId: "WFS00000004", associatedWith: { type: "person", id: "PER00000006", label: "Robert Johnson" } } }); |
| 415 | expect(noMatchRes.status()).toBe(200); |
| 416 | expect((await noMatchRes.json()).stepId).toBe("WFS00000004"); |
| 417 | |
| 418 | await ctx.dispose(); |
| 419 | }); |
| 420 | |
| 421 | const API_BASE = process.env.API_BASE || "http://localhost:8084"; |
| 422 | async function apiAuth(ctx: any) { |
| 423 | const loginRes = await ctx.post(`${API_BASE}/membership/users/login`, { data: { email: "demo@b1.church", password: "password" } }); |
| 424 | expect(loginRes.ok()).toBeTruthy(); |
| 425 | const body = await loginRes.json(); |
no outgoing calls
no test coverage detected