We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ccd12a commit bbb21a6Copy full SHA for bbb21a6
packages/jest-config/src/parseShardPair.ts
@@ -13,8 +13,7 @@ export const parseShardPair = (pair: string): ShardPair => {
13
const shardPair = pair
14
.split('/')
15
.filter(d => /^\d+$/.test(d))
16
- .map(d => Number.parseInt(d, 10))
17
- .filter(shard => !Number.isNaN(shard));
+ .map(d => Number.parseInt(d, 10));
18
19
const [shardIndex, shardCount] = shardPair;
20
0 commit comments