待测试

This commit is contained in:
rain
2026-07-27 17:17:31 +08:00
parent 1eae3bbef4
commit 04287e6777
35 changed files with 4238 additions and 22750 deletions
+27 -3
View File
@@ -58,14 +58,14 @@ const run = async () => {
name: "汤文远",
generation: 12,
generationName: "文",
birthDate: "1900-01-02T00:00:00+08:00",
birthDate: "1900-01-01T16:00:00.000Z",
relationName: "始祖",
spouses: [{
personId: 1002,
name: "李氏",
generation: 12,
generationName: "文",
birthDate: "1905-03-04T00:00:00+08:00",
birthDate: "1905-03-03T16:00:00.000Z",
}],
children: [{
personId: 1011,
@@ -80,9 +80,20 @@ const run = async () => {
generationName: "志",
fatherId: 1011,
deathDate: "2020-05-06T00:00:00+08:00",
}],
}],
}, {
personId: 1031,
name: "周明轩",
generation: 13,
generationName: "正",
spouses: [{
personId: 1011,
name: "汤正明",
generation: 13,
generationName: "正",
}],
}],
}],
},
};
@@ -102,6 +113,7 @@ const run = async () => {
{
id: "1002",
parentId: null,
spouseOf: "1001",
name: "李氏",
relation: "配偶",
generation: 12,
@@ -132,6 +144,18 @@ const run = async () => {
sex: "",
personStatus: "",
},
{
id: "1031",
parentId: "1001",
spouseOf: "1011",
name: "周明轩",
relation: "配偶",
generation: 13,
branch: "正字辈",
years: "生卒待补",
sex: "",
personStatus: "",
},
]);
assert.strictEqual(
requests[0].url,