Support remote function keys and property descriptors

This commit is contained in:
Kevin Sawicki 2016-08-17 13:58:48 -07:00
parent d226b7bc6c
commit 666a668d91
2 changed files with 33 additions and 7 deletions

View file

@ -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 () {