Skip to content

Commit 518bc17

Browse files
Remove unnecesary terminate call
1 parent 15e4d42 commit 518bc17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/snaps-controllers/src/snaps/SnapController.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ describe('SnapController', () => {
18021802
});
18031803

18041804
const { rootMessenger } = options;
1805-
const [snapController, service] = getSnapControllerWithEES(options);
1805+
const [snapController] = getSnapControllerWithEES(options);
18061806
const snap = snapController.getExpect(MOCK_SNAP_ID);
18071807

18081808
rootMessenger.registerActionHandler(
@@ -1845,7 +1845,6 @@ describe('SnapController', () => {
18451845
);
18461846

18471847
snapController.destroy();
1848-
await service.terminateAllSnaps();
18491848
});
18501849

18511850
// This isn't stable in CI unfortunately

0 commit comments

Comments
 (0)