8 string references to library.discovery

AttachedAssetsTest::testDynamicLibrary in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Dynamically defines an asset library and alters it.
AttachedAssetsTest::testLibraryAlter in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Adds a JavaScript library to the page and alters it.
AttachedAssetsTest::testLibraryNameConflicts in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Tests that multiple modules can implement libraries with the same name.
LegacyLibraryDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Asset/LegacyLibraryDiscoveryTest.php
LibraryDiscoveryIntegrationTest::setUp in core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php
ResolvedLibraryDefinitionsFilesMatchTest::setUp in core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php
StableLibraryOverrideTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php
ThemeNotUsingClassyLibraryTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.