<commit_before>var helper = require('../lib/_helper');
var expect = require('chai').expect;

describe("Helper Test", function() {
    describe("#listJSFiles", function() {
        it("list all js files", function(done) {
            helper.listJSFiles(__dirname, function(err, files) {
                expect(err).to.be.a('null');
                expect(files).to.be.instanceof(Array);
                done();
            });
        });
    });

    describe("#remoteDirname", function() {
        it("correct remote dirname", function() {
            expect(helper.remoteDirname()).to.be.contain('/express-orm-mvc/node_modules/mocha/lib');
        });
    });
});<commit_msg>Fix remote dirname testing<commit_after>var helper = require('../lib/_helper');
var expect = require('chai').expect;

describe("Helper Test", function() {
    describe("#listJSFiles", function() {
        it("list all js files", function(done) {
            helper.listJSFiles(__dirname, function(err, files) {
                expect(err).to.be.a('null');
                expect(files).to.be.instanceof(Array);
                done();
            });
        });
    });

    describe("#remoteDirname", function() {
        it("correct remote dirname", function() {
            expect(helper.remoteDirname()).to.be.contain('/node_modules/mocha/lib');
        });
    });
});
{'fraction_non_alphanumeric': 0.17838638045891933, 'fraction_numerical': 0.0, 'mean_word_length': 2.4055415617128464, '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': '6460775', 'n_tokens_mistral': 384, 'n_tokens_neox': 375, 'n_words': 61}