Promote develop to main: 26.11.0-rc.2 #17

Merged
chrnx merged 8 commits from develop into main 2026-11-23 18:45:05 +00:00
Showing only changes of commit cf7d30d8c2 - Show all commits
+2 -1
View File
@@ -88,7 +88,8 @@ test('the transformer serves the text format with the content type Prometheus ex
const rendered = prometheus('green_tea_requests_total{route="/x",method="GET",status="200"} 1\n'); const rendered = prometheus('green_tea_requests_total{route="/x",method="GET",status="200"} 1\n');
assert.equal(rendered.status, 200); assert.equal(rendered.status, 200);
assert.match(rendered.headers!['content-type'], /text\/plain/); // Core RC.1 widens response header values to `string | string[]` (core #113), so a reader narrows.
assert.match(String(rendered.headers!['content-type']), /text\/plain/);
assert.match(rendered.body, /green_tea_requests_total/); assert.match(rendered.body, /green_tea_requests_total/);
}); });