Skip to content

Instantly share code, notes, and snippets.

@david-martin
Created January 26, 2017 14:38
Show Gist options
  • Save david-martin/66e4b73c6d1da21e148fe849e1fb8c75 to your computer and use it in GitHub Desktop.
Save david-martin/66e4b73c6d1da21e148fe849e1fb8c75 to your computer and use it in GitHub Desktop.
1) setUp
2) test sync with acknowledgements
info: 2017-01-26 14:38:25 [SYNC] (): stopAllDatasetSync
0 passing (432ms)
2 failing
1) setUp:
Error: invalid schema, expected mongodb
at module.exports (node_modules/mongodb/lib/url_parser.js:18:11)
at connect (node_modules/mongodb/lib/mongo_client.js:289:16)
at Function.MongoClient.connect (node_modules/mongodb/lib/mongo_client.js:113:3)
at Object.setConnectionUrl (lib/sync-UpdatesModel_mongo.js:11:15)
at lib/sync-srv.js:81:24
at test/test_sync-srv.js:23:7
at globalInit (lib/sync-srv.js:75:7)
at sync (lib/sync-srv.js:90:3)
at module.exports (lib/sync-srv.js:15:10)
at Context.module.exports.setUp (test/test_sync-srv.js:29:7)
2) test sync with acknowledgements:
ReferenceError: sync is not defined
at Context.module.exports.test sync with acknowledgements (test/test_sync-srv.js:60:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment