Skip to content

Commit aeec105

Browse files
committed
Merge pull request evanw#110 from evanw/julien-f-improve-readme-tests
Minor changes README#Tests.
2 parents 35e442d + ab6b4cf commit aeec105

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,10 @@ Error: this is a demo
228228
This repo contains both automated tests for node and manual tests for the browser. The automated tests can be run using mocha (type `mocha` in the root directory). To run the manual tests:
229229

230230
* Build the tests using `build.js`
231-
* Visit `amd-test`, `browser-test`, and `browserify-test` using the HTTP protocol (`python -m SimpleHTTPServer` can be used on OS X)
232-
* The test `browserify-test` currently isn't working due to a bug with browserify. See pull request #66 for details.
231+
* Launch the HTTP server (`npm run serve-tests`) and visit
232+
* http://127.0.0.1:1336/amd-test
233+
* http://127.0.0.1:1336/browser-test
234+
* http://127.0.0.1:1336/browserify-test - **Currently not working** due to a bug with browserify (see [pull request #66](https://github.com/evanw/node-source-map-support/pull/66) for details).
233235
* For `header-test`, run `server.js` inside that directory and visit http://127.0.0.1:1337/
234236

235237
## License

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
"main": "./source-map-support.js",
66
"scripts": {
77
"build": "node build.js",
8+
"serve-tests": "http-server -p 1336",
89
"test": "mocha"
910
},
1011
"dependencies": {
1112
"source-map": "0.1.32"
1213
},
1314
"devDependencies": {
14-
"coffee-script": "1.7.1",
1515
"browserify": "3.44.2",
16+
"coffee-script": "1.7.1",
17+
"http-server": "^0.8.5",
1618
"mocha": "1.18.2"
1719
},
1820
"repository": {

0 commit comments

Comments
 (0)