@sanity/block-content-tests
Advanced tools
Comparing version 0.0.12 to 0.1.0
{ | ||
"name": "@sanity/block-content-tests", | ||
"version": "0.0.12", | ||
"version": "0.1.0", | ||
"description": "Tests for shared block content rendering logic", | ||
@@ -5,0 +5,0 @@ "main": "tests.js", |
@@ -202,2 +202,8 @@ const identity = inp => inp | ||
test('can render styled list items', () => { | ||
const {input, output} = require('./fixtures/027-styled-list-items') | ||
const result = render({blocks: input}) | ||
expect(result).toEqual(normalize(output)) | ||
}) | ||
test('can specify custom serializer for custom block types', () => { | ||
@@ -204,0 +210,0 @@ const {input, output} = require('./fixtures/050-custom-block-type') |
82946
37
3530