Skip to content

Commit 1e99e5d

Browse files
update test
1 parent 68461d4 commit 1e99e5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/compress/class-properties.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ static_private_fields: {
322322

323323
optional_chaining_private_fields: {
324324
no_mozilla_ast = true;
325-
node_version = ">=12"
325+
node_version = ">=16"
326326
input: {
327327
class A {
328328
#opt = undefined;
@@ -341,7 +341,7 @@ optional_chaining_private_fields: {
341341
}
342342
console.log(new A().toString())
343343
}
344-
// expect_stdout: "PASS" // < tested in chrome, fails with nodejs 14 (current LTS)
344+
expect_stdout: "PASS"
345345
}
346346

347347
private_properties_can_be_mangled: {

0 commit comments

Comments
 (0)