From b31ac2e946ed661ac9e0ea0cf7a2ef43cfa30ac6 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Thu, 12 Nov 2015 16:56:20 -0800 Subject: [PATCH] Add a handful of tests --- .../es6/moduleExportsAmd/defaultExportsGetExportedAmd.ts | 3 +++ .../moduleExportsCommonjs/defaultExportsGetExportedCommonjs.ts | 3 +++ .../es6/moduleExportsSystem/defaultExportsGetExportedSystem.ts | 3 +++ .../es6/moduleExportsUmd/defaultExportsGetExportedUmd.ts | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 tests/cases/conformance/es6/moduleExportsAmd/defaultExportsGetExportedAmd.ts create mode 100644 tests/cases/conformance/es6/moduleExportsCommonjs/defaultExportsGetExportedCommonjs.ts create mode 100644 tests/cases/conformance/es6/moduleExportsSystem/defaultExportsGetExportedSystem.ts create mode 100644 tests/cases/conformance/es6/moduleExportsUmd/defaultExportsGetExportedUmd.ts diff --git a/tests/cases/conformance/es6/moduleExportsAmd/defaultExportsGetExportedAmd.ts b/tests/cases/conformance/es6/moduleExportsAmd/defaultExportsGetExportedAmd.ts new file mode 100644 index 00000000000..ef0f2ffde17 --- /dev/null +++ b/tests/cases/conformance/es6/moduleExportsAmd/defaultExportsGetExportedAmd.ts @@ -0,0 +1,3 @@ +// @target: ES6 +// @module: amd +export default class Foo {} diff --git a/tests/cases/conformance/es6/moduleExportsCommonjs/defaultExportsGetExportedCommonjs.ts b/tests/cases/conformance/es6/moduleExportsCommonjs/defaultExportsGetExportedCommonjs.ts new file mode 100644 index 00000000000..994f24df658 --- /dev/null +++ b/tests/cases/conformance/es6/moduleExportsCommonjs/defaultExportsGetExportedCommonjs.ts @@ -0,0 +1,3 @@ +// @target: ES6 +// @module: commonjs +export default class Foo {} diff --git a/tests/cases/conformance/es6/moduleExportsSystem/defaultExportsGetExportedSystem.ts b/tests/cases/conformance/es6/moduleExportsSystem/defaultExportsGetExportedSystem.ts new file mode 100644 index 00000000000..3764f2ec36c --- /dev/null +++ b/tests/cases/conformance/es6/moduleExportsSystem/defaultExportsGetExportedSystem.ts @@ -0,0 +1,3 @@ +// @target: ES6 +// @module: system +export default class Foo {} diff --git a/tests/cases/conformance/es6/moduleExportsUmd/defaultExportsGetExportedUmd.ts b/tests/cases/conformance/es6/moduleExportsUmd/defaultExportsGetExportedUmd.ts new file mode 100644 index 00000000000..39784fc7188 --- /dev/null +++ b/tests/cases/conformance/es6/moduleExportsUmd/defaultExportsGetExportedUmd.ts @@ -0,0 +1,3 @@ +// @target: ES6 +// @module: umd +export default class Foo {}