<commit_before>const Application = require("spectron").Application;
const chai = require('chai');
const should = chai.should();
const chaiAsPromised = require('chai-as-promised');
const testPage = require('./test.page.js');

var page = new testPage();
var path = require('path');

var electronPath = path.join(__dirname, '..', 'node_modules', '.bin', 'electron.cmd');

if (process.platform === 'win32') {
    electronPath += '.cmd';
}

// Path to your application
var appPath = path.join(__dirname, '..');

var app = new Application({
            path: electronPath,
            args: [appPath]
        });

global.before(function () {
    //chai.should();
    chai.use(chaiAsPromised);
    page.setApp(app);
});<commit_msg>fix build<commit_after>const Application = require("spectron").Application;
const chai = require('chai');
const should = chai.should();
const chaiAsPromised = require('chai-as-promised');
const testPage = require('./test.page.js');

var page = new testPage();
let path = require('path');

var electronPath = path.join(__dirname, '..', 'node_modules', '.bin', 'electron.cmd');

if (process.platform === 'win32') {
    electronPath += '.cmd';
}

// Path to your application
var appPath = path.join(__dirname, '..');

var app = new Application({
            path: electronPath,
            args: [appPath]
        });

global.before(function () {
    //chai.should();
    chai.use(chaiAsPromised);
    page.setApp(app);
});
{'fraction_non_alphanumeric': 0.1814404432132964, 'fraction_numerical': 0.002770083102493075, 'mean_word_length': 3.7222222222222223, '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': '2829788', 'n_tokens_mistral': 454, 'n_tokens_neox': 449, 'n_words': 105}