()
| 278 | return it("convertToNativeType", function() { |
| 279 | const globals = { |
| 280 | foo() { |
| 281 | const o = {p1: 34, p2: 'Bob'}; |
| 282 | return Object.defineProperty(o, 'health', {value: 42}); |
| 283 | } |
| 284 | }; |
| 285 | const code = `\ |
| 286 | myObj = self.foo() |
nothing calls this directly
no outgoing calls
no test coverage detected