Skip to content

Commit 99ef536

Browse files
committed
fix
1 parent 8ab15e4 commit 99ef536

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`roundTrip should round trip callout 1`] = `
4+
"<callout>Callout</callout>
5+
"
6+
`;

packages/markdown/src/lib/roundTrip.spec.tsx renamed to packages/markdown/src/lib/mdx.spec.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ describe('roundTrip', () => {
4646
);
4747

4848
const md = serializeMd(editor, { value: input });
49-
console.log('🚀 ~ it ~ md:', md);
50-
// const slate = deserializeMd(editor, md);
51-
// expect(slate).toEqual(input);
49+
expect(md).toMatchSnapshot();
50+
console.log("🚀 ~ it ~ md:", md)
5251
});
5352
});

0 commit comments

Comments
 (0)