Skip to content

Commit

Permalink
Hopefully fix the slug issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessByte committed Aug 11, 2024
1 parent 8be3ca6 commit 273648c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cp -R ${fixtures_dir}/* "${tmp_fixtures_dir}"
for test_file in $(find "${tmp_fixtures_dir}" -name '*.spec.js'); do
echo "👁️ ${test_file}"

slug=$(echo "${test_file:${#tmp_fixtures_dir}+1}" | cut -d / -f 1)
slug=$(basename "${test_file}" | sed s/.spec.js$//)
test_dir=$(dirname "${test_file}")
test_dir_name=$(basename "${test_dir}")
test_dir_path=$(realpath "${test_dir}")
Expand Down

0 comments on commit 273648c

Please sign in to comment.