[ci] format
This commit is contained in:
parent
f7afdb889f
commit
695e9b34da
1 changed files with 4 additions and 1 deletions
|
@ -64,7 +64,10 @@ describe('MDX frontmatter', () => {
|
||||||
const frontmatterFile = document.querySelector('[data-frontmatter-file]')?.textContent;
|
const frontmatterFile = document.querySelector('[data-frontmatter-file]')?.textContent;
|
||||||
const frontmatterUrl = document.querySelector('[data-frontmatter-url]')?.textContent;
|
const frontmatterUrl = document.querySelector('[data-frontmatter-url]')?.textContent;
|
||||||
|
|
||||||
expect(frontmatterFile?.endsWith('with-headings.mdx')).to.equal(true, '"file" prop does not end with correct path or is undefined');
|
expect(frontmatterFile?.endsWith('with-headings.mdx')).to.equal(
|
||||||
|
true,
|
||||||
|
'"file" prop does not end with correct path or is undefined'
|
||||||
|
);
|
||||||
expect(frontmatterUrl).to.equal('/with-headings');
|
expect(frontmatterUrl).to.equal('/with-headings');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue