<commit_before>'use strict';
/* global config*/
/* eslint global-require: 0 */
var rewire = require('rewire');
module.exports = {
  setUp: function setUp(callback) {
    callback();
  },
  tearDown: function tearDown(callback) {
    callback();
  },
  'test index No Config': function testIndexNoConfig(test) {
    test.expect(1);
    global.config = rewire('../../bootstrap/config');
    config.database = null;

    test.throws(function throwIndexError() {
      require('../../bootstrap/app');
    }, Error, 'did you have run ./artisan laravel-config ?');<commit_msg>[test] change file imported<commit_after>'use strict';
/* global config*/
/* eslint global-require: 0 */
var rewire = require('rewire');
module.exports = {
  setUp: function setUp(callback) {
    callback();
  },
  tearDown: function tearDown(callback) {
    callback();
  },
  'test index No Config': function testIndexNoConfig(test) {
    test.expect(1);
    global.config = rewire('../../bootstrap/config');
    config.database = null;

    test.throws(function throwIndexError() {
      require('../..');
    }, Error, 'did you have run ./artisan laravel-config ?');
{'fraction_non_alphanumeric': 0.17192982456140352, 'fraction_numerical': 0.0035087719298245615, 'mean_word_length': 3.45703125, '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': '5540794', 'n_tokens_mistral': 344, 'n_tokens_neox': 338, 'n_words': 83}