diff --git a/tests/get_def2/ParentESM.js b/tests/get_def2/ParentESM.js new file mode 100644 index 00000000000..68169d9b02c --- /dev/null +++ b/tests/get_def2/ParentESM.js @@ -0,0 +1,4 @@ +// @flow + +const ParentFoo = {foo: 'bar'}; +export default {ParentFoo} diff --git a/tests/get_def2/get_def2.exp b/tests/get_def2/get_def2.exp index 90cf18a4638..fcbb89de4a9 100644 --- a/tests/get_def2/get_def2.exp +++ b/tests/get_def2/get_def2.exp @@ -138,6 +138,10 @@ module_ref.js:3:4 Flags: Parent.js:4:18,4:28 +module_ref.js:5:4 +Flags: +module_ref.js:5:1,5:15 + refinements.js:10:4 Flags: refinements.js:4:7,4:9 diff --git a/tests/get_def2/module_ref.js b/tests/get_def2/module_ref.js index 08ee5a06e09..debb1d0790b 100644 --- a/tests/get_def2/module_ref.js +++ b/tests/get_def2/module_ref.js @@ -2,3 +2,5 @@ 'm#./Parent'; // ^ +'m#./ParentESM'; +// ^