From 96396c50e4ac107d5cb2da3a030084571169c8f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C5=A0pan=C4=9Bl?= Date: Thu, 30 Mar 2017 09:27:56 +0200 Subject: [PATCH] Added tests for export `as` variants. --- test/mocha/export.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/mocha/export.js b/test/mocha/export.js index eebaad02..317a076a 100644 --- a/test/mocha/export.js +++ b/test/mocha/export.js @@ -7,6 +7,8 @@ describe("Export", function() { var inputs = [ ['export * from "a.js"', ['*'], "a.js"], ['export {A} from "a.js"', ['A'], "a.js"], + ['export {A as X} from "a.js"', ['X'], "a.js"], + ['export {A as Foo, B} from "a.js"', ['Foo', 'B'], "a.js"], ['export {A, B} from "a.js"', ['A', 'B'], "a.js"], ];