| 169 | }); |
| 170 | it('should work properly when subclassed', function () { |
| 171 | class MyDatabase extends Database { |
| 172 | foo() { |
| 173 | return 999; |
| 174 | } |
| 175 | } |
| 176 | const db = this.db = new MyDatabase(util.next()); |
| 177 | expect(db).to.be.an.instanceof(Database); |
| 178 | expect(db).to.be.an.instanceof(MyDatabase); |
nothing calls this directly
no outgoing calls
no test coverage detected