JS: Add test case

This commit is contained in:
Asger Feldthaus
2021-10-01 12:02:40 +02:00
parent 600e5bad0d
commit c8e7df7900
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
export class PublicClass {
protected constructor(p) {}
private privateMethod(p) {}
protected protectedMethod(p) {}
_kindaPrivateMethod(p) {}
$kindaPrivateMethod(p) {}
#esPrivateMethod(p) {}
_kindaPrivateFieldMethod = (p) => {};
private privateFieldMethod = (p) => {};
}

View File

@@ -15,3 +15,4 @@ getAnExportedValue
| lib1/reexport/a.js:1:1:3:1 | <toplevel> | reexported | lib1/reexport/a.js:2:17:2:40 | functio ... ed() {} |
| lib1/reexport/b.js:1:1:6:1 | <toplevel> | base | lib1/reexport/b.js:4:11:4:28 | function base() {} |
| lib1/reexport/b.js:1:1:6:1 | <toplevel> | reexported | lib1/reexport/a.js:2:17:2:40 | functio ... ed() {} |
| notPublic.ts:1:1:12:0 | <toplevel> | PublicClass | notPublic.ts:1:8:11:1 | class P ... > {};\\n} |