test(cli): use lightweight clears for browser extension runtime spies
This commit is contained in:
parent
a038ad29f9
commit
ab159a68c9
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user