aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--integration/scripts/snippets.json3
-rw-r--r--integration/snippets/export-default-module-hot.js2
2 files changed, 4 insertions, 1 deletions
diff --git a/integration/scripts/snippets.json b/integration/scripts/snippets.json
index a5896407d..ebdec23d3 100644
--- a/integration/scripts/snippets.json
+++ b/integration/scripts/snippets.json
@@ -27,5 +27,6 @@
"/number-literal-bug.js",
"/caught-require.js",
"/package-json-utf8.js",
- "/multiple-var.js"
+ "/multiple-var.js",
+ "/export-default-module-hot.js"
]
diff --git a/integration/snippets/export-default-module-hot.js b/integration/snippets/export-default-module-hot.js
new file mode 100644
index 000000000..559c5c19e
--- /dev/null
+++ b/integration/snippets/export-default-module-hot.js
@@ -0,0 +1,2 @@
+// This test passes if there's no syntax error
+export default module.id;