mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Remove rhino testing.
This commit is contained in:
@@ -10,8 +10,6 @@ Don’t worry about regenerating the documentation, lodash.js, or lodash.min.js.
|
|||||||
|
|
||||||
Before running the unit tests you’ll need to install, `npm i`, [development dependencies](https://docs.npmjs.com/files/package.json#devdependencies).
|
Before running the unit tests you’ll need to install, `npm i`, [development dependencies](https://docs.npmjs.com/files/package.json#devdependencies).
|
||||||
Run unit tests from the command-line via `node test/test`, or open `test/index.html` in a web browser.
|
Run unit tests from the command-line via `node test/test`, or open `test/index.html` in a web browser.
|
||||||
|
|
||||||
The `test/run-test.sh` script attempts to run the tests in [Rhino](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino), [RingoJS](http://ringojs.org/), [PhantomJS](http://phantomjs.org/), & [Node](http://nodejs.org/), before running them in your default browser.
|
|
||||||
The [Backbone](http://backbonejs.org/) & [Underscore](http://underscorejs.org/) test suites are included as well.
|
The [Backbone](http://backbonejs.org/) & [Underscore](http://underscorejs.org/) test suites are included as well.
|
||||||
|
|
||||||
## Contributor License Agreement
|
## Contributor License Agreement
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
cd "$(dirname "$0")"
|
|
||||||
|
|
||||||
echo "Testing in node..."
|
|
||||||
node test.js ../lodash.js
|
|
||||||
|
|
||||||
for cmd in rhino "rhino -require" ringo phantomjs; do
|
|
||||||
echo ""
|
|
||||||
echo "Testing in $cmd..."
|
|
||||||
$cmd test.js ../lodash.js
|
|
||||||
done
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Testing in a browser..."
|
|
||||||
open index.html
|
|
||||||
822
test/test.js
822
test/test.js
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user