Final fixes, all tests running

This commit is contained in:
Angelos Chalaris
2018-06-18 20:41:57 +03:00
parent a3390a6588
commit 3a89fe304a
49 changed files with 2189 additions and 1198 deletions

View File

@ -10,7 +10,7 @@ function Foo() {
}
Foo.prototype.c = () => 3;
test('Returns own methods', () => {
expect(functions(new Foo()).toEqual( ['a', 'b']);
expect(functions(new Foo())).toEqual( ['a', 'b']);
});
test('Returns own and inherited methods', () => {
expect(functions(new Foo(), true)).toEqual(['a', 'b', 'c']);