add babel-browser sanity check test
This commit is contained in:
12
packages/babel-browser/test/index.js
Normal file
12
packages/babel-browser/test/index.js
Normal 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);
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user