Merge pull request from GHSA-h9jc-284h-533g

This commit is contained in:
Samuel Attard 2020-04-16 14:10:18 -07:00 committed by GitHub
parent d0f19d8369
commit e4c82fdf2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 11 deletions

View file

@ -422,6 +422,7 @@ describe('contextBridge', () => {
string: 'string',
boolean: true,
arr: [123, 'string', true, ['foo']],
getObject: () => ({ thing: 123 }),
getNumber: () => 123,
getString: () => 'string',
getBoolean: () => true,
@ -455,6 +456,7 @@ describe('contextBridge', () => {
[example.arr[3][0], String],
[example.getNumber, Function],
[example.getNumber(), Number],
[example.getObject(), Object],
[example.getString(), String],
[example.getBoolean(), Boolean],
[example.getArr(), Array],