<commit_before><commit_msg>Added basic tests (not finished)<commit_after>/**
 * Created by Felix on 06/03/2017.
 */
const assert = require("assert");
/** @type {NTRDB_Api} */
const NTRDB_Api = require("../");

/**
 * @type {NTRDB_Api}
 */
let ntrdb_client;

describe("Initialization", () => {
	it("should be initialized with no errors.", function() {
		assert.doesNotThrow(function (done) {
			ntrdb_client = NTRDB_Api();
			done();
		})
	})
})

function usage() {
	describe("Usage", () => {
		describe("GET all the data.", () => {
			it("should get all the data.", function (done) {
				ntrdb_client.getPlugins({}, function () {
					ntrdb_client.getPlugins({}, function (err, json) {
						
					})
				});
			})
		})
	})
}
{'fraction_non_alphanumeric': 0.1986206896551724, 'fraction_numerical': 0.011034482758620689, 'mean_word_length': 3.426829268292683, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '4572961', 'n_tokens_mistral': 293, 'n_tokens_neox': 250, 'n_words': 55}