<commit_before>#!/usr/bin/env bash

if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
  export DISPLAY=:99.0
  sh -e /etc/init.d/xvfb start +extension RANDR
  sleep 3
fi

NODE_EXEC_PATH=$(which node)

export NODE_PATH=$NODE_EXEC_PATH

./node_modules/.bin/electron-mocha build --ui bdd --timeout 80000 --reporter spec --inline-diffs --bail build<commit_msg>Update test script<commit_after>#!/usr/bin/env bash

if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
  export DISPLAY=":99.0"
  sh -e /etc/init.d/xvfb start +extension RANDR
  sleep 8
fi

NODE_EXEC_PATH=$(which node)

export NODE_PATH=$NODE_EXEC_PATH

./node_modules/.bin/electron-mocha build --ui bdd --timeout 80000 --reporter spec --inline-diffs --bail build
{'fraction_non_alphanumeric': 0.14992927864214992, 'fraction_numerical': 0.02545968882602546, 'mean_word_length': 3.9510489510489513, 'pattern_counts': {'":': 1, '<': 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': '3768434', 'n_tokens_mistral': 288, 'n_tokens_neox': 267, 'n_words': 65}