(obj, key, attribute)
| 10 | } |
| 11 | |
| 12 | function assertPropertyIsNot (obj, key, attribute) { |
| 13 | const propDesc = Object.getOwnPropertyDescriptor(obj, key); |
| 14 | assert.ok(propDesc); |
| 15 | assert.ok(!propDesc[attribute]); |
| 16 | } |
| 17 | |
| 18 | function testDefineProperties (nameType) { |
| 19 | const obj = {}; |
no outgoing calls
no test coverage detected