Skip to content

Commit f8e78d0

Browse files
committed
test: coverage ignore unreachable code
1 parent 0c47967 commit f8e78d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/internal/useMultiLoadingValue.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export function useMultiLoadingValue<Value, Error = unknown>(size: number): UseM
8383
return curStates.slice(0, size);
8484
} else if (curStates.length < size) {
8585
return [...curStates, ...Array.from({ length: size - curStates.length }).map(() => DEFAULT_STATE)];
86+
/* c8 ignore next 3 */
8687
} else {
8788
return curStates;
8889
}

0 commit comments

Comments
 (0)