Commit 5fc15f3a authored by Diana Zubova's avatar Diana Zubova Committed by Enrique Alcántara

Simplify root node assertion

parent 2fd363cd
......@@ -12,9 +12,7 @@ describe('gfm', () => {
},
});
expect(result).toMatchObject({
type: 'root',
});
expect(result.type).toBe('root');
});
it('transforms raw HTML into individual nodes in the AST', async () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment