From 683b171c3ffc54957e1f02952938ff010fdcbbe0 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 23 Apr 2022 03:15:27 -0700 Subject: :camera: --- integration/snippets/export-default-module-hot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integration/snippets/export-default-module-hot.js') diff --git a/integration/snippets/export-default-module-hot.js b/integration/snippets/export-default-module-hot.js index d6bb5a6a1..aee4e2468 100644 --- a/integration/snippets/export-default-module-hot.js +++ b/integration/snippets/export-default-module-hot.js @@ -1,5 +1,5 @@ // This test passes if there's no syntax error -export default module.id; +export default typeof module !== "undefined" && module.id; export function test() { testDone(import.meta.url); -- cgit v1.2.3