(obj, constructorRef)
| 984 | }); |
| 985 | |
| 986 | function assertConstructorExposed(obj, constructorRef) { |
| 987 | assert.ok(obj); |
| 988 | assert.strictEqual(typeof constructorRef, 'function'); |
| 989 | // Verify that is exposed with the same name as the class |
| 990 | assert.strictEqual(obj[constructorRef.name], constructorRef); |
| 991 | } |