summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-09-30 21:25:30 +0200
committerGitHub <noreply@github.com>2024-09-30 21:25:30 +0200
commitc5c18699921cd45021f8c130eecdc09099c26878 (patch)
tree0cc987e35c47e476cc865f67e0e89bbf39048cd6 /tests
parent05ca6994ca36a152b793654e7c631271b6280521 (diff)
fix: precompile preserve SVG camelCase attributes (#25945)
See https://github.com/denoland/deno_ast/pull/278 Fixes https://github.com/denoland/deno/issues/25810
Diffstat (limited to 'tests')
-rw-r--r--tests/specs/npm/require_type_commonjs/main.out14
1 files changed, 4 insertions, 10 deletions
diff --git a/tests/specs/npm/require_type_commonjs/main.out b/tests/specs/npm/require_type_commonjs/main.out
index f7a81572c..d715db8a9 100644
--- a/tests/specs/npm/require_type_commonjs/main.out
+++ b/tests/specs/npm/require_type_commonjs/main.out
@@ -1,10 +1,4 @@
-error: Uncaught (in promise) SyntaxError: Unexpected token 'export'
- at Object.evalContext (ext:core/01_core.js:[WILDCARD])
- at wrapSafe (node:module:[WILDCARD])
- at Module._compile (node:module:[WILDCARD])
- at Object.Module._extensions..js (node:module:[WILDCARD])
- at Module.load (node:module:[WILDCARD])
- at Function.Module._load (node:module:[WILDCARD])
- at Module.require (node:module:[WILDCARD])
- at require (node:module:[WILDCARD])
- at file:///[WILDCARD]/@denotest/type-commonjs/1.0.0/index.js:3:13
+error: 'import', and 'export' cannot be used outside of module code at file://[WILDCARD]/@denotest/type-commonjs/1.0.0/index.js:1:1
+
+ export {};
+ ~~~~~~