mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 01:27:28 +00:00
test(core): reduce mock reset overhead in targeted suites
This commit is contained in:
@@ -38,7 +38,7 @@ describe("media store redirects", () => {
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
mockRequest.mockReset();
|
||||
mockRequest.mockClear();
|
||||
setMediaStoreNetworkDepsForTest({
|
||||
httpRequest: (...args) => mockRequest(...args),
|
||||
httpsRequest: (...args) => mockRequest(...args),
|
||||
|
||||
Reference in New Issue
Block a user