(obj, propertyName)
| 52 | if (!fn.toString().includes('[native code]')) throw new Error(`'${fn}' does not look native`); |
| 53 | }, |
| 54 | enumerable(obj, propertyName) |
| 55 | { |
| 56 | const descriptor = Object.getOwnPropertyDescriptor(obj, propertyName); |
| 57 | if (!descriptor.enumerable) throw new Error(`'${obj[Symbol.toStringTag]}.${propertyName}' is not enumerable`); |
| 58 | }, |
| 59 | }; |
| 60 | |
| 61 | const QUnit = { |
nothing calls this directly
no test coverage detected