diff options
Diffstat (limited to 'integration/snippets/export.js')
-rw-r--r-- | integration/snippets/export.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/integration/snippets/export.js b/integration/snippets/export.js deleted file mode 100644 index fe0abfa53..000000000 --- a/integration/snippets/export.js +++ /dev/null @@ -1,29 +0,0 @@ -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); -} |