Skip to content

Commit 11558c8

Browse files
Fix teardown
1 parent 52f958a commit 11558c8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"branches": 93.31,
3-
"functions": 96.79,
4-
"lines": 98.15,
5-
"statements": 97.88
3+
"functions": 97.05,
4+
"lines": 98.2,
5+
"statements": 97.93
66
}

packages/snaps-controllers/src/services/webview/WebViewExecutionService.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ describe('WebViewExecutionService', () => {
4949
});
5050

5151
expect(service).toBeDefined();
52+
await service.terminateAllSnaps();
5253
});
5354

5455
it('can execute snaps', async () => {
@@ -117,5 +118,7 @@ describe('WebViewExecutionService', () => {
117118
endowments: [],
118119
}),
119120
).toBe('OK');
121+
122+
await service.terminateAllSnaps();
120123
});
121124
});

0 commit comments

Comments
 (0)