Enable code coverage

Former-commit-id: 9b52247b6e880f15895842e4ff34c15fc99fd1eb
This commit is contained in:
Mathias Bynens
2013-05-29 17:51:57 +02:00
parent 9dd8f62c8a
commit d1fb379a40
10 changed files with 17970 additions and 20 deletions

View File

@@ -1,18 +0,0 @@
cd "$(dirname "$0")"
for cmd in rhino "rhino -require" narwhal ringo phantomjs; do
echo "Testing in $cmd..."
$cmd test.js ../dist/lodash.compat.js && $cmd test.js ../dist/lodash.compat.min.js
echo ""
done
echo "Testing in node..."
node test.js ../dist/lodash.js && node test.js ../dist/lodash.min.js
echo ""
echo "Testing build..."
node test-build.js
echo ""
echo "Testing in a browser..."
open index.html