Skip to content

Instantly share code, notes, and snippets.

@nolanlawson
Created February 11, 2014 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nolanlawson/8939576 to your computer and use it in GitHub Desktop.
Save nolanlawson/8939576 to your computer and use it in GitHub Desktop.
Deliberately broken test.basics.js test
it('update_seq persists', function(start) {
var name = testHelpers.name;
testUtils.initTestDB(name, function(err, db) {
db.post({test:"somestuff"}, function (err, info) {
new PouchDB(name, function(err, db) {
db.info(function(err, info) {
equal(info.doc_count, 2, 'Doc Count persists'); // should be 1
start();
});
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment