<commit_before>/**
 * Run visual regression tests.
 *
 * Note that `npm run test:build` must be run before running these tests.
 * That script runs Parcel to build the `test/build` directory with all the
 * HTML, compiled CSS and JS used for visual regression testing in it.
 */

import assert from 'assert'
import fs from 'fs'
import http from 'http'
import { staticDir, baseUrl } from './wdio.config'
import { examples } from './build/examples'
import { themes } from './build/themes'

/* global browser */

// The examples to use for visual regression tests
// It's generally better to only use small examples, as
// larger ones take up time and space
const EXAMPLES = [examples.articleKitchenSink]
<commit_msg>chore(Screenshot test): Remove unnecessary comment<commit_after>/**
 * Run visual regression tests.
 *
 * Note that `npm run test:build` must be run before running these tests.
 * That script runs Parcel to build the `test/build` directory with all the
 * HTML, compiled CSS and JS used for visual regression testing in it.
 */

import assert from 'assert'
import fs from 'fs'
import http from 'http'
import { staticDir, baseUrl } from './wdio.config'
import { examples } from './build/examples'
import { themes } from './build/themes'

// The examples to use for visual regression tests
// It's generally better to only use small examples, as
// larger ones take up time and space
const EXAMPLES = [examples.articleKitchenSink]

{'fraction_non_alphanumeric': 0.09216909216909216, 'fraction_numerical': 0.0, 'mean_word_length': 3.9793103448275864, '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': '3184712', 'n_tokens_mistral': 398, 'n_tokens_neox': 384, 'n_words': 192}