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