Skip to content

Commit a093048

Browse files
authored
Fix test (unsafe true opt) (#31)
* Fix test (do not pass primaryKey explicitly) * alt fix
1 parent b2a8e3f commit a093048

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function createStores (n, t) {
4141
for (let i = 0; i < n; i++) {
4242
const storage = await tmpDir()
4343
const primaryKey = Buffer.alloc(32, i)
44-
stores.push(new Corestore(storage, { primaryKey }))
44+
stores.push(new Corestore(storage, { primaryKey, unsafe: true }))
4545
}
4646

4747
t.teardown(() => Promise.all(stores.map(s => s.close())), { order: 2 })

0 commit comments

Comments
 (0)