<commit_before>#!/bin/bash

SUCCESS=true

cd ./client && for dir in apps/*
do
  cd "$dir"
  yarn test || SUCCESS=false
  cd ../..
done

$SUCCESS
<commit_msg>Improve javascript tests Print the directory Pass a directory which has no tests<commit_after>#!/bin/bash

SUCCESS=true

cd ./client && for dir in apps/*
do
  cd "$dir"
  echo $dir
  yarn test --passWithNoTests || SUCCESS=false
  cd ../..
done

$SUCCESS

{'fraction_non_alphanumeric': 0.13381995133819952, 'fraction_numerical': 0.0, 'mean_word_length': 3.204081632653061, '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': '3237992', 'n_tokens_mistral': 151, 'n_tokens_neox': 141, 'n_words': 49}