resources/assets/js/services/playlistCollaborationService.spec.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function test has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  protected test () {
    it('creates invite link', async () => {
      const playlist = factory('playlist', { is_smart: false })
      const postMock = this.mock(http, 'post').mockResolvedValue({ token: 'abc123' })

Severity: Minor
Found in resources/assets/js/services/playlistCollaborationService.spec.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status