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