<commit_before>/* eslint-env jasmine */

describe('Launching the app', () => {
  it('creates a visible window', async () => {
    const Application = require('spectron').Application
    let app = new Application({
      path: 'node_modules/.bin/electron',
      args: ['built/index.js']
    })
    await app.start()
    // expect(app.browserWindow.isVisible()).toBe(true)
    // expect(false).toBe(true)
    // return app.browserWindow.isVisible()
  })
})<commit_msg>Stub a basic spectron setup<commit_after>/* eslint-env jasmine */

describe('Launching the app', () => {
  it('creates a visible window', () => {
    const Application = require('spectron').Application
    let app = new Application({
      path: 'node_modules/.bin/electron',
      args: ['built/index.js']
    })

    // app.start()
    //   .then(() => { return app.browserWindow.isVisible() })
    //   .then((isVisible) => { expect(isVisible).toBe('red') })
    //   .then(() => { return app.stop() })
    // expect(app.browserWindow.isVisible()).toBe(true)
    // return app.browserWindow.isVisible()
  })
})
{'fraction_non_alphanumeric': 0.19074074074074074, 'fraction_numerical': 0.0, 'mean_word_length': 3.048689138576779, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '4284723', 'n_tokens_mistral': 337, 'n_tokens_neox': 331, 'n_words': 65}