chore: drop the em dashes this release added to prose and test titles

The notification categories' contract description, which lands in the
published API document, and a handful of new code comments and test
titles used em dashes; the house style keeps them out of new prose.
This commit is contained in:
Marc-André Bombeck committed 2026-11-12 12:54:20 +01:00
1 parent cad4c89831
commit 2d1009136a
8 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -1355,7 +1355,7 @@ async function resolveProviderForTestUnbound(
// Empty selection ("test my saved config" — the ai-section calls
// /api/ai/test with an empty body): resolve via the SAME path generation
// uses — the first entry of `resolveProviderChain`. The legacy codex→admin
// uses, the first entry of `resolveProviderChain`. The legacy codex→admin
// fallback used to probe a different provider than generation ran
// (observed: test→admin-key while generation→codex), so a green test gave
// no signal about whether overnight generation would work.
@@ -346,7 +346,7 @@ describe("generateBloodPressureStatusForUser — no rate without an expectation"
});
});
describe("generateBloodPressureStatusForUser — the person's own target", () => {
describe("generateBloodPressureStatusForUser and the person's own target", () => {
const readings = [1, 2, 3].flatMap((daysAgo) => {
const measuredAt = new Date(Date.now() - daysAgo * dayMs);
return [
+1 -1
View File
@@ -422,7 +422,7 @@ describe("extractFeatures — weight target direction (#1006)", () => {
});
});
describe("extractFeatures — blood pressure against the person's own target", () => {
describe("extractFeatures: blood pressure against the person's own target", () => {
// 135/85 on three days: above the age default's ceiling, inside a target
// the person's doctor agreed (up to 140/90).
const bpRows = [1, 2, 3].flatMap((daysAgo) => {
+1 -1
View File
@@ -76,7 +76,7 @@ const notificationPreferencesResponse = z
eventTypes: z
.array(z.string())
.describe(
"The event categories this account is shown a switch for, in declaration order — the list a client renders rows for. A category nothing sends is not listed, and `preferences` carries no stored row for it.",
"The event categories this account is shown a switch for, in declaration order: the list a client renders rows for. A category nothing sends is not listed, and `preferences` carries no stored row for it.",
),
eventDefaults: z
.record(eventTypeEnum, z.boolean())