Skip to content

Commit

Permalink
revert itGte changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Aug 18, 2023
1 parent 4f8e0a5 commit b95b7e2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/repo-utils/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ if (typeof jest !== "undefined") {
return !USE_ESM && semver.gte(process.version, version) ? it : it.skip;
};
exports.itGte = function (version) {
return (...args) => {
const testFn = semver.gte(process.version, version) ? it : it.skip;
return testFn(...args);
};
return semver.gte(process.version, version) ? it : it.skip;
};
exports.itNoWin32 = process.platform === "win32" ? it.skip : it;
}
Expand Down

0 comments on commit b95b7e2

Please sign in to comment.