abstract-leveldown: Don't use __dirname in testCommon
Should probably use process.cwd()
, or better yet, a unique temporary directory.
Ref https://github.com/Level/leveldown-hyper/pull/68#discussion_r196815629
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 20 (20 by maintainers)
Unassigned myself for now and closed incorrect PR.
I prefer that being passed in. I.e. use
process.nextTick
unless a customnextTick
function is provided.=> https://github.com/Level/abstract-leveldown/issues/160