Skip to content

Commit

Permalink
chore: remove disabled eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 28, 2021
1 parent f53abf6 commit 09f225f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/jest-worker/src/Farm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,6 @@ export default class Farm {
return this;
}

// Typescript ensures that the switch statement is exhaustive.
// Adding an explicit return at the end would disable the exhaustive check void.
// eslint-disable-next-line consistent-return
private _getNextWorkerOffset(): number {
switch (this._workerSchedulingPolicy) {
case 'in-order':
Expand Down

0 comments on commit 09f225f

Please sign in to comment.