summaryrefslogtreecommitdiffstatshomepage
path: root/core/scripts/dev/commit-code-check.sh
diff options
context:
space:
mode:
authorbnjmnm <benm@umich.edu>2022-02-11 13:17:19 -0500
committerbnjmnm <benm@umich.edu>2022-02-11 13:17:19 -0500
commit1211f01011c354692b924569b109640628b22d88 (patch)
treee87bfd51a6023b4cb34c74271e550e0ca5368a86 /core/scripts/dev/commit-code-check.sh
parentf2669a31c36febb4ffbebd4561f99f6eee75f911 (diff)
downloaddrupal-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-xcore/scripts/dev/commit-code-check.sh2
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