provide diagnostic details on --mangle-props (#5621)

closes #5618
This commit is contained in:
Alex Lam S.L
2022-08-17 15:22:30 +01:00
committed by GitHub
parent d6d2f5ced2
commit 9eea3a673a
3 changed files with 17 additions and 1 deletions

View File

@@ -2200,6 +2200,14 @@ mangle_properties: {
console.log(A.s, new A().e);
}
expect_stdout: "PASS 42"
expect_warnings: [
"INFO: Mapping property #P to #t",
"INFO: Mapping property Q to s",
"INFO: Mapping property #p to #i",
"INFO: Mapping property r to e",
"INFO: Preserving property q",
"INFO: Preserving property log",
]
node_version: ">=14.6"
}