We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe22b0 commit eb2a82aCopy full SHA for eb2a82a
1 file changed
tests/frontmatter/frontmatter.test.ts
@@ -2,8 +2,8 @@ import { compareFiles } from 'tests/common';
2
import { describe, expect, it } from 'vitest';
3
4
describe('Frontmatter', () => {
5
- it('should format yaml frontmatter', () => {
6
- const { actual, expected } = compareFiles(__dirname);
+ it('should format yaml frontmatter', async () => {
+ const { expected, actual } = await compareFiles(import.meta.url);
7
expect(actual).toBe(expected);
8
});
9
0 commit comments