<commit_before>const path = require('path')
const WdioScreenshot = require('wdio-screenshot-v5')
const VisualRegressionCompare = require('wdio-novus-visual-regression-service/compare')

// Declare configuration variables and paths for storing screenshots
const screenshotDir = path.join(__dirname, 'screenshots')

const env = {
  baseUrl: process.env.BASE_URL || 'http://localhost:3000',
  staticDir: path.join(__dirname, 'examples'),
  screenshotDir,
  errors: path.join(screenshotDir, 'error'),
  examples: path.resolve(__dirname, '..', 'src', 'examples'),
  reference: path.join(screenshotDir, 'reference'),
  local: path.join(screenshotDir, 'local'),
  diff: path.join(screenshotDir, 'diff')
}

// Read browser to be tested with from the environment, falling back to Crhome
const testBrowser = process.env.TEST_BROWSER
  ? process.env.TEST_BROWSER
  : 'chrome'<commit_msg>test(*): Fixes incorrect path to examples directory<commit_after>const path = require('path')
const WdioScreenshot = require('wdio-screenshot-v5')
const VisualRegressionCompare = require('wdio-novus-visual-regression-service/compare')

// Declare configuration variables and paths for storing screenshots
const screenshotDir = path.join(__dirname, 'screenshots')

const env = {
  baseUrl: process.env.BASE_URL || 'http://localhost:3000',
  staticDir: path.join(__dirname, '..', 'src', 'examples'),
  screenshotDir,
  errors: path.join(screenshotDir, 'error'),
  examples: path.resolve(__dirname, '..', 'src', 'examples'),
  reference: path.join(screenshotDir, 'reference'),
  local: path.join(screenshotDir, 'local'),
  diff: path.join(screenshotDir, 'diff')
}

// Read browser to be tested with from the environment, falling back to Crhome
const testBrowser = process.env.TEST_BROWSER
  ? process.env.TEST_BROWSER
  : 'chrome'
{'fraction_non_alphanumeric': 0.13643926788685523, 'fraction_numerical': 0.005546311702717693, 'mean_word_length': 5.7565543071161045, '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': '7341213', 'n_tokens_mistral': 582, 'n_tokens_neox': 557, 'n_words': 134}