Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
use ES6 classes in own tests
Browse files Browse the repository at this point in the history
Otherwise TypeScript doesn't see that Test inherits
AbstractLevelDOWN:

```
function Test (location) {
  AbstractLevelDOWN.call(this, location)
}

util.inherits(Test, AbstractLevelDOWN)
```

And will complain about AbstractLevelDOWN methods being undefined on
Test.
  • Loading branch information
vweevers committed Jan 22, 2018
1 parent 5dbea41 commit b1d006e
Showing 1 changed file with 96 additions and 236 deletions.
Loading

0 comments on commit b1d006e

Please sign in to comment.