Skip to content

Commit

Permalink
Test simple open, #282
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Mar 26, 2024
1 parent 62f23e4 commit 4f864f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ describe('lmdb-js', function () {
});
should.equal(noDb, undefined);
});
it('simple open', function () {
let test = open({}).openDB('foo', {});
});
it('zero length values', async function () {
await db.committed; // should be able to await db even if nothing has happened
db.put(5, asBinary(Buffer.from([])));
Expand Down

0 comments on commit 4f864f5

Please sign in to comment.