收口微信九宫切图诊断日志

微信九宫切图失败日志改为固定阶段标签

原生壳门禁拒绝九宫切图日志输出原生错误对象

同步宿主壳方案和共享决策记录
This commit is contained in:
2026-06-21 15:22:00 +08:00
parent e2af3005ac
commit 0b848d38bb
5 changed files with 21 additions and 8 deletions
+3 -4
View File
@@ -65,10 +65,9 @@ describe('wechat share-grid shell page', () => {
expect(page.data.loading).toBe(false);
expect(page.data.errorMessage).toBe('九宫切图保存失败。');
expect(page.data.errorMessage).not.toContain('private native download detail');
expect(consoleError).toHaveBeenCalledWith(
'[share-grid] download failed',
{ errMsg: 'private native download detail' },
);
expect(consoleError).toHaveBeenCalledWith('[share-grid] download failed');
expect(consoleError).toHaveBeenCalledWith('[share-grid] save failed');
expect(consoleError.mock.calls.flat()).not.toContain('private native download detail');
consoleError.mockRestore();
});
});