修复作品架封面换签用例未适配取消信号

- useGameDistributionMediaReadUrl 新增 AbortSignal 第四参数后,旧断言 toHaveBeenCalledWith 失配
- 断言补 expect.any(AbortSignal),与换签请求可取消的语义对齐
This commit is contained in:
2026-10-07 15:13:10 +08:00
parent f69fd339b9
commit 2db556c50e
@@ -189,6 +189,7 @@ test('作者自有作品封面走 owner 作用域换签,未发布也能预览'
'game-1',
'game-distribution/cover/mine.png',
undefined,
expect.any(AbortSignal),
),
);
expect(getGameDistributionMediaReadUrl).not.toHaveBeenCalled();