镜像自地址
https://github.com/lhly/cloud-drive-renamer.git
已同步 2026-10-20 13:47:47 +08:00
test: tighten clear behavior assertions
这个提交包含在:
父节点
fb2b028f91
当前提交
c187bed711
@ -59,6 +59,8 @@ describe('DiagnosticLogStore', () => {
|
||||
|
||||
await store.clear();
|
||||
|
||||
expect(mockChromeStorage.remove).toHaveBeenCalledWith(DIAGNOSTIC_STORAGE_KEYS.RECENT_LOGS);
|
||||
expect(mockChromeStorage.remove).toHaveBeenCalledTimes(1);
|
||||
expect(mockChromeStorage.remove).toHaveBeenNthCalledWith(1, DIAGNOSTIC_STORAGE_KEYS.RECENT_LOGS);
|
||||
expect(mockChromeStorage.remove).not.toHaveBeenCalledWith(DIAGNOSTIC_STORAGE_KEYS.LAST_FAILURE);
|
||||
});
|
||||
});
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户