Skip to content

Commit

Permalink
fix: fix tests after online merge resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
catalan-adobe committed Mar 15, 2024
1 parent b175246 commit cbc326d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/importers/PageImporter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ describe('PageImporter tests - fixtures', () => {

const md = await storageHandler.get(results[0].md);
const expectedMD = await fs.readFile(path.resolve(__dirname, 'fixtures', `${feature}.spec.md`), 'utf-8');
strictEqual(md.trim(), expectedMD.trim(), 'imported md is expected one');
assertFn(md.trim(), expectedMD.trim(), 'imported md is expected one');

// parse md to verify mdast
const mdast = unified()
Expand Down Expand Up @@ -247,6 +247,7 @@ describe('PageImporter tests - fixtures', () => {
throw new Error('imported md is not expected one');
}
});
});

it('import - video', async () => {
await featureTest('video');
Expand Down

0 comments on commit cbc326d

Please sign in to comment.