test: undo (#6034)

This commit is contained in:
jif-oai
2025-10-31 14:46:24 +00:00
committed by GitHub
parent 2ac14d1145
commit 0508823075
3 changed files with 493 additions and 0 deletions

View File

@@ -479,6 +479,7 @@ pub async fn mount_sse_sequence(server: &MockServer, bodies: Vec<String>) -> Res
let (mock, response_mock) = base_mock();
mock.respond_with(responder)
.up_to_n_times(num_calls as u64)
.expect(num_calls as u64)
.mount(server)
.await;