Added tests for export as variants.

This commit is contained in:
Ondřej Španěl 2017-03-30 09:27:56 +02:00
parent ec26cd7069
commit 96396c50e4

View File

@ -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"],
];