<commit_before>/* eslint {strict: ['error', 'global']} */
/* global requirejs */
'use strict';
const tests = [
    ...['text', 'json'],
    ...Object.keys(window.__karma__.files).filter((file) =>
        /^\/base\/test\/.*[sS]pec\.js$/.test(file)
    ),
];

// hack to make jed (the i18n library that Jupyter uses) happy.
document.nbjs_translations = {
    domain: 'nbjs',
    locale_data: {
        nbjs: {
            '': {
                domain: 'nbjs',
            },<commit_msg>add comments to regex<commit_after>/* eslint {strict: ['error', 'global']} */
/* global requirejs */
'use strict';
const tests = [
    ...['text', 'json'],
    // Keep only the test spec files under the test directory.
    // Karma prepends these with /base/, so make sure that's included.
    ...Object.keys(window.__karma__.files).filter((file) =>
        /^\/base\/test\/.*[sS]pec\.js$/.test(file)
    ),
];

// hack to make jed (the i18n library that Jupyter uses) happy.
document.nbjs_translations = {
    domain: 'nbjs',
    locale_data: {
        nbjs: {
            '': {
                domain: 'nbjs',
            },
{'fraction_non_alphanumeric': 0.1891891891891892, 'fraction_numerical': 0.0036036036036036037, 'mean_word_length': 2.15625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1840903', 'n_tokens_mistral': 373, 'n_tokens_neox': 362, 'n_words': 89}