Skip to content

Commit

Permalink
improve test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 31, 2024
1 parent 8311adb commit 4dd850f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import { something } from "package/dep.js";
import { something2 } from "package/dep2.js";

it("should not include a module that is side effect free and exports are not used due to static analysis", () => {
if (false) {
something();
} else {
if (true) {
something2();
}
something();
});

0 comments on commit 4dd850f

Please sign in to comment.