Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Fix regex to not test screenshots for test/ changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joyzhong committed Dec 5, 2019
1 parent 6929207 commit 406d532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/travis-env-vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ if [[ "$TEST_SUITE" == 'screenshot' ]]; then
# - package (non-unit test) JS/Sass files
# - screenshot test files
# - image files
check_for_testable_files '^packages/(?!test/).+\.(js|ts|css|scss)$' '^test/screenshot/' '\.(png|jpg|jpeg|gif|svg)$'
check_for_testable_files '^packages/(?!.+/test/).+\.(js|ts|css|scss)$' '^test/screenshot/' '\.(png|jpg|jpeg|gif|svg)$'
fi

0 comments on commit 406d532

Please sign in to comment.