fix: preserve favorite identity and ready lifecycle
This commit is contained in:
@@ -610,6 +610,7 @@ describe("market-dom-sync", () => {
|
||||
{
|
||||
authorId: "111",
|
||||
authorName: "达人 A",
|
||||
coreUserId: "core-111",
|
||||
singleVideoAfterSearchRate: "0.02%"
|
||||
},
|
||||
{
|
||||
@@ -625,6 +626,7 @@ describe("market-dom-sync", () => {
|
||||
}
|
||||
|
||||
expect(table.rows.map((row) => row.authorId)).toEqual(["111", "222"]);
|
||||
expect(table.rows.map((row) => row.coreUserId)).toEqual(["core-111", undefined]);
|
||||
expect(table.rows[0].rates).toEqual({
|
||||
singleVideoAfterSearchRate: "0.02%"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user