remove browser tests
This commit is contained in:
parent
65e059e69b
commit
91f9cfb902
4
Makefile
4
Makefile
@ -33,10 +33,6 @@ test: lint
|
|||||||
./scripts/test.sh
|
./scripts/test.sh
|
||||||
make test-clean
|
make test-clean
|
||||||
|
|
||||||
test-browser:
|
|
||||||
./scripts/test-browser.sh
|
|
||||||
make test-clean
|
|
||||||
|
|
||||||
test-cov: clean
|
test-cov: clean
|
||||||
BABEL_ENV=test; \
|
BABEL_ENV=test; \
|
||||||
make build
|
make build
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
mkdir -p dist
|
|
||||||
|
|
||||||
node packages/babel-core/scripts/cache-templates
|
|
||||||
|
|
||||||
for f in packages/*; do
|
|
||||||
node node_modules/mocha-fixtures/bin/mocha-fixture-dump.js $f
|
|
||||||
done
|
|
||||||
|
|
||||||
node node_modules/browserify/bin/cmd.js -e test/browser.js >dist/browser-test.js
|
|
||||||
|
|
||||||
test -n "`which open`" && open test/browser.html
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Mocha</title>
|
|
||||||
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="mocha"></div>
|
|
||||||
<script src="../node_modules/mocha/mocha.js"></script>
|
|
||||||
<script>mocha.setup("tdd");</script>
|
|
||||||
<script src="../dist/browser-test.js"></script>
|
|
||||||
<script>
|
|
||||||
mocha.globals(["regeneratorRuntime"]);
|
|
||||||
mocha.checkLeaks();
|
|
||||||
mocha.run();
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
if (process.browser) {
|
|
||||||
require("../packages/babel-core/test/_browser");
|
|
||||||
require("../packages/babylon/test/index.js");
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user