Skip to content

Commit bc60f02

Browse files
authored
Merge branch 'main' into packageFilter
2 parents d880717 + bbb21a6 commit bc60f02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/jest-config/src/parseShardPair.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ export const parseShardPair = (pair: string): ShardPair => {
1313
const shardPair = pair
1414
.split('/')
1515
.filter(d => /^\d+$/.test(d))
16-
.map(d => Number.parseInt(d, 10))
17-
.filter(shard => !Number.isNaN(shard));
16+
.map(d => Number.parseInt(d, 10));
1817

1918
const [shardIndex, shardCount] = shardPair;
2019

0 commit comments

Comments
 (0)