Move expected files into subdirectory

This commit is contained in:
shati-patel
2022-05-05 11:51:12 +01:00
committed by Shati Patel
parent f55389cd26
commit 6e06381640
10 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ describe('markdown generation', async function() {
for (let i = 0; i < markdownFiles.length; i++) {
const markdownFile = markdownFiles[i];
const expectedContent = await readTestOutputFile(`data/interpreted-results/path-problem/${expectedFileNames[i]}.md`);
const expectedContent = await readTestOutputFile(`data/interpreted-results/path-problem/expected/${expectedFileNames[i]}.md`);
// Check that the markdown file has the expected name
expect(markdownFile.fileName).to.equal(expectedFileNames[i]);
@@ -48,7 +48,7 @@ describe('markdown generation', async function() {
for (let i = 0; i < markdownFiles.length; i++) {
const markdownFile = markdownFiles[i];
const expectedContent = await readTestOutputFile(`data/interpreted-results/problem/${expectedFileNames[i]}.md`);
const expectedContent = await readTestOutputFile(`data/interpreted-results/problem/expected/${expectedFileNames[i]}.md`);
// Check that the markdown file has the expected name
expect(markdownFile.fileName).to.equal(expectedFileNames[i]);
@@ -74,7 +74,7 @@ describe('markdown generation', async function() {
for (let i = 0; i < markdownFiles.length; i++) {
const markdownFile = markdownFiles[i];
const expectedContent = await readTestOutputFile(`data/raw-results/${expectedFileNames[i]}.md`);
const expectedContent = await readTestOutputFile(`data/raw-results/expected/${expectedFileNames[i]}.md`);
// Check that the markdown file has the expected name
expect(markdownFile.fileName).to.equal(expectedFileNames[i]);