[PR #1606] [MERGED] chore(test): improve client unit tests with user-event and screen #1806

Closed
opened 2026-02-26 03:32:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/1606
Author: @phanan
Created: 11/29/2022
Status: Merged
Merged: 11/29/2022
Merged by: @phanan

Base: masterHead: chore/testing-lib


📝 Commits (1)

  • 1fe31bd chore(test): improve client unit tests with user-event and screen

📊 Changes

105 files changed (+903 additions, -678 deletions)

View changed files

📝 package.json (+2 -2)
📝 resources/assets/js/__tests__/UnitTestCase.ts (+10 -0)
📝 resources/assets/js/components/album/AlbumCard.spec.ts (+13 -6)
📝 resources/assets/js/components/album/AlbumCard.vue (+0 -2)
📝 resources/assets/js/components/album/AlbumContextMenu.spec.ts (+19 -21)
📝 resources/assets/js/components/album/AlbumContextMenu.vue (+5 -5)
📝 resources/assets/js/components/album/AlbumInfo.spec.ts (+17 -17)
📝 resources/assets/js/components/album/AlbumInfo.vue (+1 -1)
📝 resources/assets/js/components/album/AlbumTrackList.spec.ts (+3 -2)
📝 resources/assets/js/components/album/AlbumTrackListItem.spec.ts (+3 -3)
📝 resources/assets/js/components/album/__snapshots__/AlbumCard.spec.ts.snap (+1 -1)
📝 resources/assets/js/components/album/__snapshots__/AlbumContextMenu.spec.ts.snap (+5 -5)
📝 resources/assets/js/components/artist/ArtistCard.spec.ts (+7 -9)
📝 resources/assets/js/components/artist/ArtistCard.vue (+0 -2)
📝 resources/assets/js/components/artist/ArtistContextMenu.spec.ts (+18 -20)
📝 resources/assets/js/components/artist/ArtistContextMenu.vue (+4 -4)
📝 resources/assets/js/components/artist/ArtistInfo.spec.ts (+18 -21)
📝 resources/assets/js/components/artist/ArtistInfo.vue (+1 -1)
📝 resources/assets/js/components/artist/__snapshots__/ArtistCard.spec.ts.snap (+1 -1)
📝 resources/assets/js/components/artist/__snapshots__/ArtistContextMenu.spec.ts.snap (+4 -4)

...and 80 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/1606 **Author:** [@phanan](https://github.com/phanan) **Created:** 11/29/2022 **Status:** ✅ Merged **Merged:** 11/29/2022 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `chore/testing-lib` --- ### 📝 Commits (1) - [`1fe31bd`](https://github.com/koel/koel/commit/1fe31bd9b6b8065ae9af5fb8f9a6a113150fb280) chore(test): improve client unit tests with user-event and screen ### 📊 Changes **105 files changed** (+903 additions, -678 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+2 -2) 📝 `resources/assets/js/__tests__/UnitTestCase.ts` (+10 -0) 📝 `resources/assets/js/components/album/AlbumCard.spec.ts` (+13 -6) 📝 `resources/assets/js/components/album/AlbumCard.vue` (+0 -2) 📝 `resources/assets/js/components/album/AlbumContextMenu.spec.ts` (+19 -21) 📝 `resources/assets/js/components/album/AlbumContextMenu.vue` (+5 -5) 📝 `resources/assets/js/components/album/AlbumInfo.spec.ts` (+17 -17) 📝 `resources/assets/js/components/album/AlbumInfo.vue` (+1 -1) 📝 `resources/assets/js/components/album/AlbumTrackList.spec.ts` (+3 -2) 📝 `resources/assets/js/components/album/AlbumTrackListItem.spec.ts` (+3 -3) 📝 `resources/assets/js/components/album/__snapshots__/AlbumCard.spec.ts.snap` (+1 -1) 📝 `resources/assets/js/components/album/__snapshots__/AlbumContextMenu.spec.ts.snap` (+5 -5) 📝 `resources/assets/js/components/artist/ArtistCard.spec.ts` (+7 -9) 📝 `resources/assets/js/components/artist/ArtistCard.vue` (+0 -2) 📝 `resources/assets/js/components/artist/ArtistContextMenu.spec.ts` (+18 -20) 📝 `resources/assets/js/components/artist/ArtistContextMenu.vue` (+4 -4) 📝 `resources/assets/js/components/artist/ArtistInfo.spec.ts` (+18 -21) 📝 `resources/assets/js/components/artist/ArtistInfo.vue` (+1 -1) 📝 `resources/assets/js/components/artist/__snapshots__/ArtistCard.spec.ts.snap` (+1 -1) 📝 `resources/assets/js/components/artist/__snapshots__/ArtistContextMenu.spec.ts.snap` (+4 -4) _...and 80 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:32:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1806
No description provided.