aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/export.js
blob: fe0abfa53eb621b33ec8b73844b93a7f96075c13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import what from "./_auth";
export { default as auth } from "./_auth";
export { default as login } from "./_login";
export * from "./_bacon";
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 "./_bacon";
export * as where from "./_auth";
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);
}
36?s=13&d=retro' width='13' height='13' alt='Gravatar' /> Jarred Sumner 1-0/+5 2022-12-03`process.stdout` and `process.stderr`Gravatar Jarred Sumner 15-564/+1537 2022-12-03simdutf ascii validation is about 20% faster on arm64 than our zig simd @Vect...Gravatar Jarred Sumner 1-0/+3 2022-12-03typo in readme (#1576)Gravatar Reed Jones 1-2/+2