Skip to content

Commit

Permalink
Patch .each
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Dec 20, 2024
1 parent 012f863 commit c9ddd1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vitest-jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = new Proxy(require('@jest/globals'), {
};
describeFn.each = function describeEach(table) {
return jestGlobals.describe.each(table);
}
};
return describeFn;
}
if (prop === 'it') {
Expand All @@ -39,7 +39,7 @@ module.exports = new Proxy(require('@jest/globals'), {
};
itFn.each = function itEach(table) {
return jestGlobals.it.each(table);
}
};
return itFn;
}
return Reflect.get(jestGlobals, prop, receiver);
Expand Down

0 comments on commit c9ddd1e

Please sign in to comment.