ci: update tests to pass for english
This is a temporary fix for the CI, we need to add the lang var
This commit is contained in:
committed by
mrugesh mohapatra
parent
7a860204af
commit
00c8f001f2
@ -5,7 +5,7 @@ const commonREs = require('../../utils/regEx');
|
|||||||
const readDir = require('../../utils/readDir');
|
const readDir = require('../../utils/readDir');
|
||||||
|
|
||||||
const { isAStubRE } = commonREs;
|
const { isAStubRE } = commonREs;
|
||||||
const pagesDir = path.resolve(__dirname, '../../src/pages/guide');
|
const pagesDir = path.resolve(__dirname, '../../src/pages/guide/english/');
|
||||||
|
|
||||||
function withGuidePrefix(str) {
|
function withGuidePrefix(str) {
|
||||||
return `/guide${str}`;
|
return `/guide${str}`;
|
||||||
|
@ -25,7 +25,7 @@ describe('fcc-create-nav-data', () => {
|
|||||||
},
|
},
|
||||||
fileAbsolutePath: path.resolve(
|
fileAbsolutePath: path.resolve(
|
||||||
__dirname,
|
__dirname,
|
||||||
'../../src/pages/guide/php/functions/files/file-writing/index.md'
|
'../../src/pages/guide/english/php/functions/files/file-writing/index.md'
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user