Skip to content

Commit a2e7034

Browse files
committed
fix tests and coverage
1 parent a1a20fe commit a2e7034

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5611,7 +5611,7 @@ describe('SnapController', () => {
56115611
[MOCK_SNAP_ID]: {},
56125612
}),
56135613
).rejects.toThrow(
5614-
'A snap must request at least one of the following permissions: endowment:rpc, endowment:transaction-insight, endowment:cronjob, endowment:name-lookup, endowment:lifecycle-hooks, endowment:keyring, endowment:page-home, endowment:signature-insight.',
5614+
'A snap must request at least one of the following permissions: endowment:rpc, endowment:transaction-insight, endowment:cronjob, endowment:name-lookup, endowment:lifecycle-hooks, endowment:keyring, endowment:page-home, endowment:page-settings, endowment:signature-insight.',
56155615
);
56165616

56175617
controller.destroy();

packages/snaps-utils/coverage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"branches": 99.74,
33
"functions": 98.93,
44
"lines": 99.46,
5-
"statements": 96.37
5+
"statements": 96.18
66
}

0 commit comments

Comments
 (0)