Skip to content

Commit 389738d

Browse files
committed
test: unit test fix
1 parent ccdf4bf commit 389738d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/index.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jest.mock('../NativeMusicLibrary', () => ({}));
55

66
describe('normalizeSortBy', () => {
77
it('should return empty array when input is undefined', () => {
8-
expect(normalizeSortBy(undefined)).toEqual([]);
8+
expect(normalizeSortBy(undefined)).toEqual([['default', true]]);
99
});
1010

1111
it('should handle single SortByKey', () => {

0 commit comments

Comments
 (0)