mongolike icon indicating copy to clipboard operation
mongolike copied to clipboard

move tests out of tests.sql and into their own module [test/test_runner.js]

Open JerrySievert opened this issue 12 years ago • 0 comments

filename : test/test_runner.js line # : 38 tag : todo md5 : d07207f6c68c08e5df34b85bdbc50288

// [todo] - move tests out of tests.sql and into their own module
function loadTests (client) {
  client.query(tests, function (err) {
    if (err) {
      console.error('could not load tests', err.toString());

      client.end();
      return;
    }

    runTests(client);
  });
}
function runTests (client) {
  client.query("SELECT mongolike_tests()", function (err, results) {
    client.end();

JerrySievert avatar Dec 01 '13 22:12 JerrySievert