diff --git a/core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php b/core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php
index 1668bf253131d452a1b16cbe8ed24e52a5fbb9be..57ed127412def1a7393a98c91aecfa3ad2fd6263 100644
--- a/core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php
+++ b/core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php
@@ -49,7 +49,7 @@ public function testBaseLibraryAvailable() {
     $this->drupalGet('');
     $this->assertSession()->statusCodeEquals(200);
     $this->assertSession()->responseContains('olivero/css/base/base.css');
-    $this->assertSession()->responseContains('olivero/js/scripts.js');
+    $this->assertSession()->responseContains('olivero/js/navigation-utils.js');
   }
 
   /**
diff --git a/core/themes/olivero/js/scripts.es6.js b/core/themes/olivero/js/navigation-utils.es6.js
similarity index 100%
rename from core/themes/olivero/js/scripts.es6.js
rename to core/themes/olivero/js/navigation-utils.es6.js
diff --git a/core/themes/olivero/js/scripts.js b/core/themes/olivero/js/navigation-utils.js
similarity index 100%
rename from core/themes/olivero/js/scripts.js
rename to core/themes/olivero/js/navigation-utils.js
diff --git a/core/themes/olivero/olivero.libraries.yml b/core/themes/olivero/olivero.libraries.yml
index 812983ad1107de26555c12dddf4cf815f0445283..659f0ae3dd2b30306b055ef133db71342bc1ce2e 100644
--- a/core/themes/olivero/olivero.libraries.yml
+++ b/core/themes/olivero/olivero.libraries.yml
@@ -57,7 +57,7 @@ global-styling:
 
   js:
     js/checkbox.js: {}
-    js/scripts.js: {}
+    js/navigation-utils.js: {}
     js/navigation.js: {}
     js/second-level-navigation.js: {}
   dependencies: