aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/export.debug.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-22 23:21:48 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-22 23:21:48 -0700
commit729d445b6885f69dd2c6355f38707bd42851c791 (patch)
treef87a7c408929ea3f57bbb7ace380cf869da83c0e /test/snapshots/export.debug.js
parent25f820c6bf1d8ec6d444ef579cc036b8c0607b75 (diff)
downloadbun-729d445b6885f69dd2c6355f38707bd42851c791.tar.gz
bun-729d445b6885f69dd2c6355f38707bd42851c791.tar.zst
bun-729d445b6885f69dd2c6355f38707bd42851c791.zip
change the directory structurejarred/rename
Diffstat (limited to 'test/snapshots/export.debug.js')
-rw-r--r--test/snapshots/export.debug.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/snapshots/export.debug.js b/test/snapshots/export.debug.js
new file mode 100644
index 000000000..986d3b45f
--- /dev/null
+++ b/test/snapshots/export.debug.js
@@ -0,0 +1,32 @@
+import what from "http://localhost:8080/_auth.js";
+export { default as auth } from "http://localhost:8080/_auth.js";
+
+export { default as login } from "http://localhost:8080/_login.js";
+export * from "http://localhost:8080/_bacon.js";
+export let yoyoyo = "yoyoyo";
+export default function hey() {
+ return true;
+}
+export const foo = () => {
+};
+export var bar = 100;
+export let powerLevel = Symbol("9001");
+
+export { what };
+export { what as when, what as whence };
+export { } from "http://localhost:8080/_bacon.js";
+import * as where from "http://localhost:8080/_auth.js";
+
+export { where };
+
+export { bar as booop };
+export function test() {
+ hey();
+ foo();
+ if (where.default !== "hi")
+ throw new Error(`_auth import is incorrect.`);
+ console.assert(powerLevel.description === "9001", "Symbol is not exported correctly");
+ return testDone(import.meta.url);
+}
+
+//# sourceMappingURL=http://localhost:8080/export.js.map