diff options
author | bnjmnm <benm@umich.edu> | 2022-02-11 13:17:19 -0500 |
---|---|---|
committer | bnjmnm <benm@umich.edu> | 2022-02-11 13:17:19 -0500 |
commit | 1211f01011c354692b924569b109640628b22d88 (patch) | |
tree | e87bfd51a6023b4cb34c74271e550e0ca5368a86 /core/scripts/dev/commit-code-check.sh | |
parent | f2669a31c36febb4ffbebd4561f99f6eee75f911 (diff) | |
download | drupal-1211f01011c354692b924569b109640628b22d88.tar.gz drupal-1211f01011c354692b924569b109640628b22d88.zip |
Issue #3255809 by nod_, lauriii, hooroomoo: Add nightwatch tests for toolbar
Diffstat (limited to 'core/scripts/dev/commit-code-check.sh')
-rwxr-xr-x | core/scripts/dev/commit-code-check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/scripts/dev/commit-code-check.sh b/core/scripts/dev/commit-code-check.sh index 08e613228c8e..e829dd31529e 100755 --- a/core/scripts/dev/commit-code-check.sh +++ b/core/scripts/dev/commit-code-check.sh @@ -353,7 +353,7 @@ for FILE in $FILES; do ############################################################################ ### JAVASCRIPT FILES ############################################################################ - if [[ -f "$TOP_LEVEL/$FILE" ]] && [[ $FILE =~ \.js$ ]] && [[ ! $FILE =~ ^core/tests/Drupal/Nightwatch ]] && [[ ! $FILE =~ ^core/assets/vendor/jquery.ui/ui ]] && [[ ! $FILE =~ ^core/modules/ckeditor5/js/ckeditor5_plugins ]]; then + if [[ -f "$TOP_LEVEL/$FILE" ]] && [[ $FILE =~ \.js$ ]] && [[ ! $FILE =~ ^core/tests/Drupal/Nightwatch ]] && [[ ! $FILE =~ /tests/src/Nightwatch/ ]] && [[ ! $FILE =~ ^core/assets/vendor/jquery.ui/ui ]] && [[ ! $FILE =~ ^core/modules/ckeditor5/js/ckeditor5_plugins ]]; then # Work out the root name of the JavaScript so we can ensure that the ES6 # version has been compiled correctly. if [[ $FILE =~ \.es6\.js$ ]]; then |