<commit_before>/**
 * Created by filip on 3/17/16.
 */
var chai = require('chai');
var expect = chai.expect
var util = require('util');

var SBG = require("../lib/sbg");


describe("Projects Client Test", function () {

    this.timeout(5000);

    it("can list projects", function (done) {

        var Client = new SBG();

        Client.Projects.list(function (err, data) {

            expect(err).to.be.null;
            expect(data.body).not.to.be.null;
            expect(data.body.items.length).to.be.within(0, 50);
            done();
        })

    });
});
<commit_msg>test -> project test<commit_after>/**
 * Created by filip on 3/17/16.
 */
var chai = require('chai');
var expect = chai.expect
var util = require('util');

var SBG = require("../lib/sbg");


describe("Projects Client Test", function () {

    this.timeout(5000);

    it("can list projects", function (done) {

        var Client = new SBG();

        Client.Projects.list(function (err, data) {

            expect(err).to.be.null;
            expect(data.body).not.to.be.null;
            expect(data.body.items.length).to.be.within(0, 50);
            console.log(data.body.items);
            done();
        })

    });
});

{'fraction_non_alphanumeric': 0.17535153019023986, 'fraction_numerical': 0.019851116625310174, 'mean_word_length': 2.2439678284182305, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4124546', 'n_tokens_mistral': 420, 'n_tokens_neox': 385, 'n_words': 83}