<commit_before>/**
 * Run Integration Tests
 *
 * Uses the waterline-adapter-tests module to
 * run mocha tests against the currently implemented
 * waterline API.
 */

var tests = require('waterline-adapter-tests'),
    adapter = require('../../lib/adapter'),
    mocha = require('mocha');

/**
 * Run Tests using the default redis config
 */

var suite = new tests({ adapter: adapter });<commit_msg>setup integration tests to use interfaces<commit_after>/**
 * Run Integration Tests
 *
 * Uses the waterline-adapter-tests module to
 * run mocha tests against the currently implemented
 * waterline API.
 */

var tests = require('waterline-adapter-tests'),
    adapter = require('../../lib/adapter'),
    mocha = require('mocha');

/**
 * Build a Config File
 */

var config = {
  schema: false
};

/**
 * Expose Interfaces Used In Adapter
 */

var interfaces = ['semantic', 'queryable'];

/**
 * Run Tests using the default redis config
 */

var suite = new tests({ adapter: adapter, config: config, interfaces: interfaces });
{'fraction_non_alphanumeric': 0.13813229571984437, 'fraction_numerical': 0.0, 'mean_word_length': 3.6143497757847536, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2237130', 'n_tokens_mistral': 292, 'n_tokens_neox': 283, 'n_words': 102}