Skip to content

Commit 5eb3067

Browse files
committed
JS: Add test case
1 parent cb527ca commit 5eb3067

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
| destructuring-export-client.js:3:8:3:41 | // trac ... ort-foo | Failed to track destructuring-export-foo here. |
2+
| destructuring-export-client.js:4:8:4:41 | // trac ... ort-bar | Failed to track destructuring-export-bar here. |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { foo, bar } from './destructuring-export';
2+
3+
foo(); // track: destructuring-export-foo
4+
bar(); // track: destructuring-export-bar
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const {
2+
foo, // name: destructuring-export-foo
3+
bar, // name: destructuring-export-bar
4+
} = new Something();

0 commit comments

Comments
 (0)