mongo-portable
Version:
Portable Pure JS MongoDB - Based on Monglodb (https://github.com/euforic/monglodb.git) by Christian Sullivan (http://RogueSynaptics.com)
1 lines • 2.51 kB
JavaScript
{"filter":false,"title":"MongoPortable.js","tooltip":"/test/MongoPortable.js","undoManager":{"mark":4,"position":4,"stack":[[{"start":{"row":171,"column":48},"end":{"row":171,"column":52},"action":"remove","lines":["have"],"id":3},{"start":{"row":171,"column":48},"end":{"row":171,"column":49},"action":"insert","lines":["b"]}],[{"start":{"row":171,"column":49},"end":{"row":171,"column":50},"action":"insert","lines":["e"],"id":4}],[{"start":{"row":519,"column":4},"end":{"row":556,"column":7},"action":"remove","lines":["describe(\"To be implement\", function() {"," before(function() {"," db = new MongoPortable(\"TEST_IMPLEMENTED\");"," });"," "," after(function() {"," db.dropDatabase();"," db = null;"," });"," "," it(\"should not allow MongoPortable#collectionsInfo\", function() {"," expect(db.collectionsInfo).to.throw(Error);"," });"," "," it(\"should not allow MongoPortable#fetchCollections \", function() {"," expect(db.fetchCollections ).to.throw(Error);"," });"," "," it(\"should not allow MongoPortable#createIndex\", function() {"," expect(db.createIndex).to.throw(Error);"," });"," "," it(\"should not allow MongoPortable#ensureIndex\", function() {"," expect(db.ensureIndex).to.throw(Error);"," });"," "," it(\"should not allow MongoPortable#dropIndex\", function() {"," expect(db.dropIndex).to.throw(Error);"," });"," "," it(\"should not allow MongoPortable#reIndex\", function() {"," expect(db.reIndex).to.throw(Error);"," });"," "," it(\"should not allow MongoPortable#indexInformation\", function() {"," expect(db.indexInformation).to.throw(Error);"," });"," });"],"id":14}],[{"start":{"row":518,"column":0},"end":{"row":519,"column":0},"action":"remove","lines":[" ",""],"id":15}],[{"start":{"row":518,"column":0},"end":{"row":519,"column":0},"action":"remove","lines":[" ",""],"id":16}]]},"ace":{"folds":[],"customSyntax":"javascript","scrolltop":5852,"scrollleft":0,"selection":{"start":{"row":398,"column":4},"end":{"row":401,"column":11},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":59,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1464088439261,"hash":"be594710288a010945fdbaee6ff39d6152cf2993"}