mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:41:38 +00:00
test(cli): use lightweight clears for browser extension runtime spies
This commit is contained in:
@@ -116,9 +116,9 @@ beforeEach(() => {
|
|||||||
state.entries.clear();
|
state.entries.clear();
|
||||||
state.counter = 0;
|
state.counter = 0;
|
||||||
copyToClipboard.mockReset();
|
copyToClipboard.mockReset();
|
||||||
runtime.log.mockReset();
|
runtime.log.mockClear();
|
||||||
runtime.error.mockReset();
|
runtime.error.mockClear();
|
||||||
runtime.exit.mockReset();
|
runtime.exit.mockClear();
|
||||||
});
|
});
|
||||||
|
|
||||||
function writeManifest(dir: string) {
|
function writeManifest(dir: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user