Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 2f7530b

Browse files
committed
Fix unit tests for artist names
Signed-off-by: Sahil Gupte <[email protected]>
1 parent 014c60e commit 2f7530b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/node/database/insert.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ test('Artist was inserted', async () => {
7070
})
7171

7272
expect(artistResult.length).toBe(1)
73-
expect(artistResult[0].artist_name).toBe(i.artists?.at(0))
73+
expect(artistResult[0].artist_name?.toLowerCase()).toBe(i.artists?.at(0)?.toLowerCase())
7474
expect(artistResult[0].artist_song_count).toBe(1)
7575
}
7676
})

0 commit comments

Comments
 (0)