Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Library is not tested.
Steps to reproduce
Proposed resolution
Write all tests necessary to have maximum coverage.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork a11y_autocomplete-3230678
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nod_We should test at least all the supported options and public api form #3217881: Reduce public API surface
Comment #4
nod_adding some tests to help with #3229110: use dataset instead of getattribute
Comment #7
nod_use same libraries as @drupal/once for testing
Comment #8
nod_Updated the gitlabci file to be in sync with the once package. Tests are running correctly :)
Comment #9
nod_code coverage is currently at
74.51%
overallto get code coverage run
yarn test --coverage
(oryarn web-test-runner --coverage
) and open displayed html file to see details.Comment #11
nod_Merging what i have so far to unblock other things
Comment #13
nod_86.55% coverage
Comment #15
nod_88.26% most of it is covered.
There are issues with de destroy method and the value splitting when a list is used (a lot of things happen on the drupal backend usually that we don't have access to here).
Comment #17
nod_89.3% with latest code mostly missing is the initialization for the aria described by feature and the various class adding/removing that the shim depends on.
good enough for now.
Comment #18
nod_Comment #20
nod_