mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +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",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 ==
|
Loading…
Reference in a new issue