mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
Merge "Parsoid: move tests/parser to modules/parser/test"
This commit is contained in:
commit
a5b7d6d7c7
|
@ -24,7 +24,7 @@
|
|||
},
|
||||
"main": "mediawiki.parser.js",
|
||||
"scripts": {
|
||||
"pretest": "node ../../tests/parser/fetch-parserTests.txt.js",
|
||||
"test": "node ../../tests/parser/parserTests.js"
|
||||
"pretest": "node test/fetch-parserTests.txt.js",
|
||||
"test": "node test/parserTests.js"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,8 +5,7 @@ to get started with these tests and the current parser architecture.
|
|||
|
||||
Install dependencies and run tests:
|
||||
|
||||
cd modules/parser
|
||||
(cd ../../modules/parser if you are in this README file's directory)
|
||||
(cd .. if you are in this README file's directory)
|
||||
npm test
|
||||
|
||||
== Running parserTests.js ==
|
Loading…
Reference in a new issue