(
input: Admitted,
expected: {
readonly sessionID: SessionSchema.ID
readonly prompt: Prompt
readonly delivery: Delivery
},
)
| 189 | }) |
| 190 | |
| 191 | export const equivalent = ( |
| 192 | input: Admitted, |
| 193 | expected: { |
| 194 | readonly sessionID: SessionSchema.ID |
| 195 | readonly prompt: Prompt |
| 196 | readonly delivery: Delivery |
| 197 | }, |
| 198 | ) => input.delivery === expected.delivery && matchesPrompt(input, expected) |
| 199 | |
| 200 | const matchesPrompt = (input: Admitted, expected: { readonly sessionID: SessionSchema.ID; readonly prompt: Prompt }) => |
| 201 | input.sessionID === expected.sessionID && |
no test coverage detected