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

Commit

Permalink
test for nedb
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed Aug 17, 2017
1 parent 700a61a commit 8c28819
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dictionary/nedb.js
@@ -0,0 +1,4 @@
'use strict';

module.exports = {
};
12 changes: 12 additions & 0 deletions test/test-79-npm/nedb/nedb.js
@@ -0,0 +1,12 @@
'use strict';

var Nedb = require('nedb');
var db = new Nedb({ filename: 'database.db' });

db.loadDatabase(function (error) {
if (error) throw error;
db.insert([ { a: 5 }, { a: 42 } ], function (error2) {
if (error2) throw error2;
console.log('ok');
});
});
1 change: 1 addition & 0 deletions test/test-79-npm/nedb/package.json
@@ -0,0 +1 @@
{ "private": true }

0 comments on commit 8c28819

Please sign in to comment.