resources/assets/js/stores/recentlyPlayedStore.spec.ts
Function test
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
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)