Merge "Parsoid: move tests/parser to modules/parser/test"

This commit is contained in:
Trevor Parscal 2012-07-25 21:14:13 +00:00 committed by Gerrit Code Review
commit a5b7d6d7c7
22 changed files with 3 additions and 4 deletions

View file

@ -24,7 +24,7 @@
}, },
"main": "mediawiki.parser.js", "main": "mediawiki.parser.js",
"scripts": { "scripts": {
"pretest": "node ../../tests/parser/fetch-parserTests.txt.js", "pretest": "node test/fetch-parserTests.txt.js",
"test": "node ../../tests/parser/parserTests.js" "test": "node test/parserTests.js"
} }
} }

View file

@ -5,8 +5,7 @@ to get started with these tests and the current parser architecture.
Install dependencies and run tests: Install dependencies and run tests:
cd modules/parser (cd .. if you are in this README file's directory)
(cd ../../modules/parser if you are in this README file's directory)
npm test npm test
== Running parserTests.js == == Running parserTests.js ==