From 1211f01011c354692b924569b109640628b22d88 Mon Sep 17 00:00:00 2001 From: bnjmnm Date: Fri, 11 Feb 2022 13:17:19 -0500 Subject: Issue #3255809 by nod_, lauriii, hooroomoo: Add nightwatch tests for toolbar --- core/scripts/dev/commit-code-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/scripts/dev/commit-code-check.sh') 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 -- cgit v1.2.3