Support remote function keys and property descriptors
This commit is contained in:
parent
d226b7bc6c
commit
666a668d91
2 changed files with 33 additions and 7 deletions
|
@ -64,6 +64,10 @@ describe('ipc module', function () {
|
|||
assert.equal(a.foo.nested.prop, 'yes')
|
||||
assert.equal(a.foo.method1(), 'world')
|
||||
assert.equal(a.foo.method1.prop1(), 123)
|
||||
|
||||
assert.ok(Object.keys(a.foo).includes('bar'))
|
||||
assert.ok(Object.keys(a.foo).includes('nested'))
|
||||
assert.ok(Object.keys(a.foo).includes('method1'))
|
||||
})
|
||||
|
||||
it('should work with static class members', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue