Skip to content

Commit ed56af0

Browse files
Fix test
1 parent 0946661 commit ed56af0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/scripts/controllers/permissions/specifications.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('PermissionController specifications', () => {
1616
describe('caveat specifications', () => {
1717
it('getCaveatSpecifications returns the expected specifications object', () => {
1818
const caveatSpecifications = getCaveatSpecifications({});
19-
expect(Object.keys(caveatSpecifications)).toHaveLength(12);
19+
expect(Object.keys(caveatSpecifications)).toHaveLength(13);
2020
expect(caveatSpecifications[Caip25CaveatType].type).toStrictEqual(
2121
Caip25CaveatType,
2222
);
@@ -54,6 +54,9 @@ describe('PermissionController specifications', () => {
5454
expect(caveatSpecifications.lookupMatchers.type).toStrictEqual(
5555
SnapCaveatType.LookupMatchers,
5656
);
57+
expect(caveatSpecifications.protocolSnapScopes.type).toStrictEqual(
58+
SnapCaveatType.ProtocolSnapScopes,
59+
);
5760
});
5861
});
5962

0 commit comments

Comments
 (0)