Closed radzom closed 6 years ago
When running the test against a leveldown
I'm not sure what you mean. Can you please share code and commands to reproduce?
Issue can be closed sorry for the trouble.
My misconception was the factory function not supporting a location argument in my example
If you are still interested here is the simplified example to reproduce the so thought problem.
const test = require('tape')
const testCommon = require('abstract-leveldown/testCommon')
const leveldown = require('leveldown')
const tempy = require('tempy')
const factory = () => leveldown(tempy.directory())
test('integration with leveldown', t => {
require('abstract-leveldown/abstract/open-test').all(factory, t.test, testCommon)
})
When running the test against a leveldown the returned error is
That does not matches the required "exists" (missing the s at the end)
https://github.com/Level/abstract-leveldown/blob/8ca1de858a6c98d9de4eb1063aba670d57df7afa/abstract/open-test.js#L101
Suggested solution just check for /exist/