mirror of
https://github.com/outline/outline.git
synced 2026-11-21 05:24:03 +03:00
11 lines
198 B
TypeScript
11 lines
198 B
TypeScript
import { parser } from ".";
|
|
|
|
test("renders an empty doc", () => {
|
|
const ast = parser.parse("");
|
|
|
|
expect(ast?.toJSON()).toEqual({
|
|
content: [{ type: "paragraph" }],
|
|
type: "doc",
|
|
});
|
|
});
|