add babel-browser sanity check test

This commit is contained in:
Sebastian McKenzie
2015-11-05 12:58:28 +00:00
parent 4d1145f872
commit 72c5ecf250

View File

@@ -0,0 +1,12 @@
var vm = require("vm");
var fs = require("fs");
var loc = __dirname + "/../dist/browser.js";
suite("browser", function () {
test("sanity check", function () {
if (fs.existsSync(loc)) {
require(loc);
}
});
});