test(httpapi): expect missing v2 message sessions

This commit is contained in:
Shoubhit Dash
2026-05-21 01:35:13 +05:30
parent 9a5248d47e
commit faeae0d270
@@ -602,15 +602,7 @@ const scenarios: Scenario[] = [
http.protected
.get("/api/session", "v2.session.list")
.at((ctx) => ({ path: "/api/session?roots=true", headers: ctx.headers() }))
.json(
200,
(body) => {
object(body)
array(body.items)
object(body.cursor)
},
"none",
),
.json(404, object, "status"),
http.protected
.get("/api/session", "v2.session.list.filters")
.at((ctx) => ({
@@ -625,15 +617,7 @@ const scenarios: Scenario[] = [
})}`,
headers: ctx.headers(),
}))
.json(
200,
(body) => {
object(body)
array(body.items)
object(body.cursor)
},
"none",
),
.json(404, object, "status"),
http.protected
.get("/api/session", "v2.session.list.cursor")
.at((ctx) => ({