resources/assets/js/components/playlist/PlaylistCollaboratorListItem.spec.ts
Function test
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected test () {
it('does not show a badge when current user is not the collaborator', async () => {
const currentUser = factory('user')
this.be(currentUser).renderComponent({
collaborator: factory('playlist-collaborator', { id: currentUser.id + 1 }),