mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 15:45:04 +08:00
The Add tags / Remove tags modal for selected history items still used the old Tags/StatelessTags, a wrapper around the Vue-2-only @johmun/vue-tags-input. Under Vue 3 it never turned typed text into a tag, so both actions silently applied an empty list. Switch the modal to TagsMultiselect/StatelessTags, which every other tag editor already uses, and drop the old component, its test and the package. Tags/model stays since the new editor imports its tag regex.
Galaxy uses Vitest for its client-side unit testing framework.
For testing Vue components, we use the Vue testing utils to mount individual components in a test bed and check them for rendered features. Please use Vitest's mocking capabilities for isolating test functionality.