Skip to content

Commit 429aec2

Browse files
Fix tests
1 parent 956fcf5 commit 429aec2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/snaps-controllers/src/interface/SnapInterfaceController.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ describe('SnapInterfaceController', () => {
553553
{},
554554
),
555555
).toThrow(
556-
'Using external images is only permitted with the network access endowment',
556+
'Using external images is only permitted with the `endowment:network-access` permission.',
557557
);
558558
});
559559

packages/snaps-utils/src/ui.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ describe('validateJsxElements', () => {
983983
hasPermission: jest.fn().mockReturnValue(false),
984984
}),
985985
).toThrow(
986-
'Using external images is only permitted with the network access endowment.',
986+
'Using external images is only permitted with the `endowment:network-access` permission.',
987987
);
988988
});
989989
});

0 commit comments

Comments
 (0)