mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-21 16:41:56 +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.counter = 0;
|
||||
copyToClipboard.mockReset();
|
||||
runtime.log.mockReset();
|
||||
runtime.error.mockReset();
|
||||
runtime.exit.mockReset();
|
||||
runtime.log.mockClear();
|
||||
runtime.error.mockClear();
|
||||
runtime.exit.mockClear();
|
||||
});
|
||||
|
||||
function writeManifest(dir: string) {
|
||||
|
||||
Reference in New Issue
Block a user