Skip to content

Commit

Permalink
simplify tests
Browse files Browse the repository at this point in the history
Simplify test utils usage and naming now that "optimization level" is a less helpful construct.

* remove some use of optimization level
* rename from optimizationLevel to mode
* another utils usage
* some fixes
  • Loading branch information
rbri authored Dec 23, 2024
1 parent 36994fe commit 42b64b6
Show file tree
Hide file tree
Showing 72 changed files with 1,029 additions and 1,344 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void worksWithUndefined() {
}

private static void canUseEvalSpecialWithThisSetTo(Object thisArg) {
Utils.runWithAllOptimizationLevels(
Utils.runWithAllModes(
cx -> {
ScriptableObject scope = cx.initStandardObjects();
Object o =
Expand Down
Loading

0 comments on commit 42b64b6

Please sign in to comment.