spec: Remote object should be referenced by its members
This commit is contained in:
parent
0416e65b8b
commit
f36851fcff
1 changed files with 6 additions and 0 deletions
|
@ -73,6 +73,12 @@ describe('ipc module', function () {
|
||||||
|
|
||||||
assert.equal(delete remoteFunctions.aFunction, true)
|
assert.equal(delete remoteFunctions.aFunction, true)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('is referenced by its members', function () {
|
||||||
|
let stringify = remote.getGlobal('JSON').stringify
|
||||||
|
gc();
|
||||||
|
stringify({})
|
||||||
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('remote value in browser', function () {
|
describe('remote value in browser', function () {
|
||||||
|
|
Loading…
Reference in a new issue