docs(tests): clarify workspace and legacy model test coverage

This commit is contained in:
2026-11-12 17:10:28 +08:00
parent c735c00de8
commit 81055e14a1
5 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ test("renaming reads the latest version and preserves description and content",
assert.equal(renamed.version, 8);
});
// 空白或超过 100 字符的标题在请求前拒绝;用 assert.fail 确保没有任何 API 调用。
// 空白和101个“字”(UTF-8共303字节)在请求前拒绝;这是300字节上限样本,不是任意文本100字符上限。
test("rename rejects empty or oversized names without any API calls", async () => {
for (const name of [" ", "字".repeat(101)]) {
await assert.rejects(renameBoard(() => assert.fail("unexpected API call"), "space", "board", name), /invalid_title/);