From 889a505ffdc57486cb3958d2f7682e9b361d786d Mon Sep 17 00:00:00 2001 From: Brian Ng Date: Mon, 22 May 2017 17:35:01 -0500 Subject: [PATCH] 377-async-func-decl --- .../test/fixtures/types/ExportDefaultDeclaration10/actual.js | 1 + .../test/fixtures/types/ExportDefaultDeclaration10/expected.js | 1 + .../test/fixtures/types/ExportDefaultDeclaration11/actual.js | 1 + .../test/fixtures/types/ExportDefaultDeclaration11/expected.js | 1 + .../test/fixtures/types/ExportDefaultDeclaration9/actual.js | 1 + .../test/fixtures/types/ExportDefaultDeclaration9/expected.js | 1 + 6 files changed, 6 insertions(+) create mode 100644 packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration10/actual.js create mode 100644 packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration10/expected.js create mode 100644 packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration11/actual.js create mode 100644 packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration11/expected.js create mode 100644 packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration9/actual.js create mode 100644 packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration9/expected.js diff --git a/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration10/actual.js b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration10/actual.js new file mode 100644 index 0000000000..7c26b9ed68 --- /dev/null +++ b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration10/actual.js @@ -0,0 +1 @@ +export async function foo() {} diff --git a/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration10/expected.js b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration10/expected.js new file mode 100644 index 0000000000..bfb64da594 --- /dev/null +++ b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration10/expected.js @@ -0,0 +1 @@ +export async function foo() {} \ No newline at end of file diff --git a/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration11/actual.js b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration11/actual.js new file mode 100644 index 0000000000..b5d8066db5 --- /dev/null +++ b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration11/actual.js @@ -0,0 +1 @@ +export default async () => await foo() diff --git a/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration11/expected.js b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration11/expected.js new file mode 100644 index 0000000000..3bec97976a --- /dev/null +++ b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration11/expected.js @@ -0,0 +1 @@ +export default (async () => await foo()); \ No newline at end of file diff --git a/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration9/actual.js b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration9/actual.js new file mode 100644 index 0000000000..8db00b63ab --- /dev/null +++ b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration9/actual.js @@ -0,0 +1 @@ +export default async function bar() {} diff --git a/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration9/expected.js b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration9/expected.js new file mode 100644 index 0000000000..f3288c7d18 --- /dev/null +++ b/packages/babel-generator/test/fixtures/types/ExportDefaultDeclaration9/expected.js @@ -0,0 +1 @@ +export default async function bar() {} \ No newline at end of file