Add simple test for externalRuntime transformer

Just import a module namespace and see what happens.
This commit is contained in:
Aluísio Augusto Silva Gonçalves
2015-01-14 02:38:31 -02:00
parent e8237910e8
commit e9a024e58a
3 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1 @@
import * as foo from "someModule";

View File

@@ -0,0 +1,5 @@
"use strict";
var _to5Runtime = require("6to5-runtime");
var foo = _to5Runtime.interopRequireWildcard(require("someModule"));

View File

@@ -0,0 +1,4 @@
{
"runtime": "6to5-runtime",
"optional": ["externalRuntime"]
}