We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf52606 commit 05929baCopy full SHA for 05929ba
packages/snaps-rpc-methods/src/permitted/getState.test.ts
@@ -297,7 +297,7 @@ describe('get', () => {
297
);
298
});
299
300
- it('returns `null` if the key is a constructor pollution attempt', () => {
+ it('throws an error if the key is a constructor pollution attempt', () => {
301
expect(() => get(object, 'constructor.polluted')).toThrow(
302
'Invalid params: Key contains forbidden characters.',
303
0 commit comments