<commit_before>import merge from 'deepmerge'
import defaults from './defaults.js'

const ENV = process.env.TRAVIS && process.env._BROWSER !== 'phantomjs' && process.env._ENV !== 'multibrowser' ? 'travis-ci' : 'local'
let asked = require(`./${ENV}.js`)

if (process.env._ENV === 'mobile') {
    const mobile = require('./mobile')
    asked = merge(asked, mobile)
}

const conf = merge(defaults, asked)

if (conf.desiredCapabilities.browserName === 'chrome') {
    conf.desiredCapabilities.chromeOptions = {
        args: ['--disable-popup-blocking']
    }
}

export default conf<commit_msg>make sure conf module doesn't break when running with multibrowser<commit_after>import merge from 'deepmerge'
import defaults from './defaults.js'

const ENV = process.env.TRAVIS && process.env._BROWSER !== 'phantomjs' && process.env._ENV !== 'multibrowser' ? 'travis-ci' : 'local'
let asked = require(`./${ENV}.js`)

if (process.env._ENV === 'mobile') {
    const mobile = require('./mobile')
    asked = merge(asked, mobile)
}

const conf = merge(defaults, asked)

if (conf.desiredCapabilities && conf.desiredCapabilities.browserName === 'chrome') {
    conf.desiredCapabilities.chromeOptions = {
        args: ['--disable-popup-blocking']
    }
}

export default conf
{'fraction_non_alphanumeric': 0.16203335980937253, 'fraction_numerical': 0.0, 'mean_word_length': 4.185185185185185, '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': '4358219', 'n_tokens_mistral': 397, 'n_tokens_neox': 393, 'n_words': 93}