<commit_before>#!/bin/bash -e
# USAGE: Run this file using `npm test` or `npm run-script test-local`
# (must run from repository root)

case $1 in
    local) local_only=true ;;
    full) local_only=false ;;
    *)
        echo "Specify either 'local' or 'full'"
        exit 1
        ;;
esac

# tests that can run locally
local_tests=(
  test/validator_test.js
  test/api/auth_test.js
  test/api/route_test.js
  test/api/validate_test.js
  test/api/schemaprefix_test.js
  test/api/noncemanager_test.js
  test/app_test.js
  test/scopematch_test.js
  test/exchanges_test.js
  test/testing/localapp_test.js
  test/testing/localapp2_test.js
  test/entity/migration_definition_test.js<commit_msg>Bug 1213794: fix test filename<commit_after>#!/bin/bash -e
# USAGE: Run this file using `npm test` or `npm run-script test-local`
# (must run from repository root)

case $1 in
    local) local_only=true ;;
    full) local_only=false ;;
    *)
        echo "Specify either 'local' or 'full'"
        exit 1
        ;;
esac

# tests that can run locally
local_tests=(
  test/validator_test.js
  test/api/auth_test.js
  test/api/route_test.js
  test/api/validate_test.js
  test/api/schemaprefix_test.js
  test/api/noncemanager_test.js
  test/app_test.js
  test/utils_test.js
  test/exchanges_test.js
  test/testing/localapp_test.js
  test/testing/localapp2_test.js
  test/entity/migration_definition_test.js
{'fraction_non_alphanumeric': 0.10530085959885387, 'fraction_numerical': 0.009312320916905445, 'mean_word_length': 3.3793103448275863, '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': '5727418', 'n_tokens_mistral': 529, 'n_tokens_neox': 510, 'n_words': 107}