resources/assets/js/stores/recentlyPlayedStore.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('fetches the recently played songs', async () => {
      const songs = factory('song', 3)
      const getMock = this.mock(http, 'get').mockResolvedValue(songs)
      const syncMock = this.mock(songStore, 'syncWithVault', songs)
Severity: Minor
Found in resources/assets/js/stores/recentlyPlayedStore.spec.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status