mirror of
https://github.com/tauri-apps/tauri-search.git
synced 2026-02-04 02:41:20 +01:00
14 lines
311 B
TypeScript
14 lines
311 B
TypeScript
import { readFileSync } from "fs";
|
|
import matter from "gray-matter";
|
|
|
|
describe("frontmatter tests", () => {
|
|
it("faq", () => {
|
|
const content = readFileSync(
|
|
"test/fixtures/prose/guides/contributor-guide.md",
|
|
"utf-8"
|
|
);
|
|
const output = matter(content);
|
|
console.log(output);
|
|
});
|
|
});
|