Skip to content

Commit ff56708

Browse files
committed
fix(integrations): stub fetch for every spotify library test
1 parent 4df4a51 commit ff56708

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎apps/sim/tools/spotify/library.test.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ function requestedUris(url: string): string[] {
1414

1515
const mockFetch = vi.fn()
1616

17-
describe('Spotify library tools with more IDs than one /me/library request takes', () => {
18-
beforeEach(() => {
19-
mockFetch.mockReset()
20-
vi.stubGlobal('fetch', mockFetch)
21-
})
17+
beforeEach(() => {
18+
mockFetch.mockReset()
19+
vi.stubGlobal('fetch', mockFetch)
20+
})
2221

22+
describe('Spotify library tools with more IDs than one /me/library request takes', () => {
2323
it('checks all 45 tracks across two /me/library/contains requests, in order', async () => {
2424
const url = spotifyCheckSavedTracksTool.request.url
2525
if (typeof url !== 'function') throw new Error('Missing check URL builder')

0 commit comments

Comments
 (0)