mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Fix parserTests include paths
The recent directory move broke parserTests, fix it for now. Will need refixing once me migrate to our own repo. Change-Id: I014001cd6904d1dea3f9417c9cde9c80ab079232
This commit is contained in:
parent
0a8fc3838d
commit
cd6f8ecbbe
|
@ -34,7 +34,7 @@ var fileDependencies = [];
|
||||||
|
|
||||||
// Fetch up some of our wacky parser bits...
|
// Fetch up some of our wacky parser bits...
|
||||||
|
|
||||||
var basePath = path.join(path.dirname(path.dirname(process.cwd())), 'modules');
|
var basePath = path.dirname(path.dirname(process.cwd()));
|
||||||
|
|
||||||
function _require(filename) {
|
function _require(filename) {
|
||||||
var fullpath = path.join( basePath, filename );
|
var fullpath = path.join( basePath, filename );
|
||||||
|
|
Loading…
Reference in a new issue