Skip to content

Instantly share code, notes, and snippets.

View thamaragerigr's full-sized avatar
🍏
Green apples are the superior fruit ᕦ(ò_óˇ)ᕤ

Thamara Gerig thamaragerigr

🍏
Green apples are the superior fruit ᕦ(ò_óˇ)ᕤ
View GitHub Profile
@jsjoeio
jsjoeio / run-multiple-tests.sh
Last active February 9, 2026 14:45
How to Run a Jest test multiple times
#!/usr/bin/env bash
i=1
successes=0
failures=0
totalTests=10
SUCCESS_CHECKMARK=$(printf '\342\234\224\n' | iconv -f UTF-8)
CROSS_MARK=$(printf '\342\235\214\n' | iconv -f UTF-8)
OUTPUT_FILE="jestOutput.txt"
until [ $i -gt $totalTests ]; do
console.log(`%c ________________________________________
< mooooooooooooooooooooooooooooooooooooo >
----------------------------------------
\\ ^__^
\\ (oo)\\_______
(__)\\ )\\/\\
||----w |
|| ||`, "font-family:monospace")