Skip to content

Commit

Permalink
fwqfwef
Browse files Browse the repository at this point in the history
  • Loading branch information
vishvamsinh28 committed Nov 9, 2024
1 parent a30cef3 commit a9da240
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/markdown/check-markdown.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Frontmatter Validator', () => {

beforeEach(done => {
mockConsoleError = jest.spyOn(console, 'error').mockImplementation();
fs.mkdtemp(path.join(os.tmpdir(), 'frontmatter-test-'), (err, directory) => {
fs.mkdtemp(path.join(os.tmpdir(), 'test-config'), (err, directory) => {
if (err) throw err;
tempDir = directory;
done();
Expand Down Expand Up @@ -75,6 +75,7 @@ describe('Frontmatter Validator', () => {
authors: { name: 'John Doe' }
};
const errors = validateBlogs(frontmatter);
console.log(errors)

expect(errors.length).toBeGreaterThan(3);
});
Expand Down

0 comments on commit a9da240

Please sign in to comment.