Permalink
Browse files

Added issue 719 test

  • Loading branch information...
1 parent 9e5ab91 commit 01c013587aefe073c794f12ff384eabdae32d6a0 @christkv christkv committed Oct 8, 2012
Showing with 1 addition and 62 deletions.
  1. +0 −1 test/admin_test.js
  2. +0 −1 test/aggregation_framework_test.js
  3. +0 −1 test/authentication_test.js
  4. +0 −1 test/auxilliary/authentication_test.js
  5. +0 −1 test/auxilliary/repl_set_ssl_test.js
  6. +0 −1 test/auxilliary/replicaset_auth_discovery_test.js
  7. +0 −1 test/auxilliary/replicaset_auth_test.js
  8. +0 −1 test/auxilliary/single_server_kill_reconnect.js
  9. +0 −1 test/auxilliary/ssl_test.js
  10. +0 −1 test/collection_test.js
  11. +0 −1 test/commands_test.js
  12. +0 −1 test/connect_test.js
  13. +0 −1 test/connection/connection_pool_test.js
  14. +1 −1 test/connection/message_parser_test.js
  15. +0 −1 test/connection_test.js
  16. +0 −1 test/cursor_test.js
  17. +0 −1 test/cursorstream_test.js
  18. +0 −1 test/custom_pk_test.js
  19. +0 −1 test/db_test.js
  20. +0 −1 test/domain_socket_test.js
  21. +0 −1 test/error_test.js
  22. +0 −1 test/exception_handling_test.js
  23. +0 −1 test/find_test.js
  24. +0 −1 test/geo_search_test.js
  25. +0 −1 test/gridstore/grid_store_file_test.js
  26. +0 −1 test/gridstore/grid_store_stream_test.js
  27. +0 −1 test/gridstore/grid_store_test.js
  28. +0 −1 test/gridstore/grid_test.js
  29. +0 −1 test/gridstore/gridstore_direct_streaming_test.js
  30. +0 −1 test/index_test.js
  31. +0 −1 test/insert_test.js
  32. +0 −1 test/logging_test.js
  33. +0 −1 test/map_reduce_test.js
  34. +0 −1 test/mongo_reply_test.js
  35. +0 −1 test/multiple_dbs_on_connection_pool_test.js
  36. +0 −1 test/objectid_test.js
  37. +0 −1 test/raw_test.js
  38. +0 −1 test/reaper_test.js
  39. +0 −1 test/regexp_test.js
  40. +0 −1 test/remove_test.js
  41. +0 −1 test/replicaset/connect_test.js
  42. +0 −1 test/replicaset/count_test.js
  43. +0 −1 test/replicaset/insert_and_query_on_dead_primary_test.js
  44. +0 −1 test/replicaset/insert_test.js
  45. +0 −1 test/replicaset/map_reduce_test.js
  46. +0 −1 test/replicaset/query_secondaries_test.js
  47. +0 −1 test/replicaset/read_preference_replicaset_test.js
  48. +0 −1 test/replicaset/read_preferences_all_levels_legacy_test.js
  49. +0 −1 test/replicaset/read_preferences_all_levels_test.js
  50. +0 −1 test/replicaset/read_preferences_single_test.js
  51. +0 −1 test/replicaset/read_preferences_spec.js
  52. +0 −1 test/replicaset/reaper_test.js
  53. +0 −1 test/replicaset/shutdown_test.js
  54. +0 −1 test/replicaset/strategies_test.js
  55. +0 −1 test/replicaset/tags_test.js
  56. +0 −1 test/replicaset/two_server_tests.js
  57. +0 −1 test/sharded/operations_test.js
  58. +0 −1 test/sharded/partial_read_test.js
  59. +0 −1 test/sharded/read_preferences_sharded_test.js
  60. +0 −1 test/sharded/simple_sharded_setup_test.js
  61. +0 −1 test/streaming_test.js
  62. +0 −1 test/unicode_test.js
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var native_parser = (process.env['TEST_NATIVE'] != null);
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var native_parser = (process.env['TEST_NATIVE'] != null);
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
async = require('async'),
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,7 +1,7 @@
var testCase = require('nodeunit').testCase,
Buffer = require('buffer').Buffer,
gleak = require('../../dev/tools/gleak'),
- Connection = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb/connection/connection').Connection : require('../../lib-cov/mongodb/connection/connection').Connection;
+ Connection = require('../../lib/mongodb/connection/connection').Connection;
var assertBuffersEqual = function(test, buffer1, buffer2) {
if(buffer1.length != buffer2.length) test.fail("Buffers do not have the same length", buffer1, buffer2);
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
debug = require('util').debug,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var testCase = require('nodeunit').testCase,
fs = require('fs'),
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
View
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib-cov/mongodb').native() : require('../lib-cov/mongodb').pure();
var useSSL = process.env['USE_SSL'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
@@ -1,5 +1,4 @@
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
-if(process.env['TEST_COVERAGE']) var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib-cov/mongodb').native() : require('../../lib-cov/mongodb').pure();
var noReplicasetStart = process.env['NO_REPLICASET_START'] != null ? true : false;
var testCase = require('nodeunit').testCase,
Oops, something went wrong.

0 comments on commit 01c0135

Please sign in to comment.