合并原生壳桥接统一分支
合并 Expo 移动壳与 Tauri 桌面壳工程 保留创作主页、项目入口和现有生产发布脚本 同步 HostBridge 文档、依赖锁文件和原生壳门禁
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
buildPuzzleResultProfileId,
|
||||
buildPuzzleResultWorkId,
|
||||
collectVisibleDraftNoticeKeys,
|
||||
countUnreadDraftGenerationUpdates,
|
||||
createPendingDraftShelfState,
|
||||
type DraftGenerationNoticeMap,
|
||||
getGenerationNoticeShelfKeys,
|
||||
@@ -647,6 +648,63 @@ describe('platformDraftGenerationShelfModel', () => {
|
||||
visibleKeys,
|
||||
),
|
||||
).toBe(false);
|
||||
|
||||
expect(
|
||||
countUnreadDraftGenerationUpdates(
|
||||
{
|
||||
'puzzle:puzzle-work-ocean': {
|
||||
status: 'ready',
|
||||
seen: false,
|
||||
},
|
||||
'puzzle:puzzle-profile-ocean': {
|
||||
status: 'ready',
|
||||
seen: false,
|
||||
},
|
||||
'puzzle:puzzle-session-ocean': {
|
||||
status: 'ready',
|
||||
seen: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
rpgItems: [],
|
||||
bigFishItems: [],
|
||||
jumpHopItems: [],
|
||||
woodenFishItems: [],
|
||||
match3dItems: [],
|
||||
squareHoleItems: [],
|
||||
puzzleItems: [puzzle],
|
||||
visualNovelItems: [],
|
||||
barkBattleItems: [],
|
||||
babyObjectMatchItems: [],
|
||||
},
|
||||
),
|
||||
).toBe(1);
|
||||
expect(
|
||||
countUnreadDraftGenerationUpdates(
|
||||
{
|
||||
'puzzle:puzzle-profile-ocean': {
|
||||
status: 'failed',
|
||||
seen: false,
|
||||
},
|
||||
'puzzle:puzzle-session-other': {
|
||||
status: 'ready',
|
||||
seen: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
rpgItems: [],
|
||||
bigFishItems: [],
|
||||
jumpHopItems: [],
|
||||
woodenFishItems: [],
|
||||
match3dItems: [],
|
||||
squareHoleItems: [],
|
||||
puzzleItems: [puzzle],
|
||||
visualNovelItems: [],
|
||||
barkBattleItems: [],
|
||||
babyObjectMatchItems: [],
|
||||
},
|
||||
),
|
||||
).toBe(0);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user