Fix public brief temperature units
This commit is contained in:
@@ -68,6 +68,12 @@ export function runTests() {
|
||||
content.includes("阅读简报"),
|
||||
"public brief content must provide Chinese and English localized copy",
|
||||
);
|
||||
assert(
|
||||
content.includes("24.5°C") &&
|
||||
content.includes("27.1°C") &&
|
||||
!/\b\d+(?:\.\d+)? C\b/.test(content),
|
||||
"public brief temperatures must use the degree Celsius symbol instead of a bare C",
|
||||
);
|
||||
assert(
|
||||
briefDetail.includes("generateStaticParams") &&
|
||||
briefDetail.includes("generateMetadata") &&
|
||||
|
||||
Reference in New Issue
Block a user