Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiosantoscode committed Dec 1, 2022
1 parent 68461d4 commit 1e99e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/compress/class-properties.js
Expand Up @@ -322,7 +322,7 @@ static_private_fields: {

optional_chaining_private_fields: {
no_mozilla_ast = true;
node_version = ">=12"
node_version = ">=16"
input: {
class A {
#opt = undefined;
Expand All @@ -341,7 +341,7 @@ optional_chaining_private_fields: {
}
console.log(new A().toString())
}
// expect_stdout: "PASS" // < tested in chrome, fails with nodejs 14 (current LTS)
expect_stdout: "PASS"
}

private_properties_can_be_mangled: {
Expand Down

0 comments on commit 1e99e5d

Please sign in to comment.