Don't load remote properties until they are accessed
This commit is contained in:
parent
f792c720f4
commit
eef42770c6
2 changed files with 6 additions and 1 deletions
|
@ -72,7 +72,7 @@ describe('ipc module', function () {
|
|||
|
||||
a = remote.require(path.join(fixtures, 'module', 'function-with-missing-properties.js')).setup()
|
||||
assert.equal(a.bar(), true)
|
||||
assert.equal(typeof a.bar.baz, 'function')
|
||||
assert.equal(a.bar.baz, undefined)
|
||||
})
|
||||
|
||||
it('should work with static class members', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue