New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/block-content-tests

Package Overview
Dependencies
Maintainers
7
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/block-content-tests - npm Package Compare versions

Comparing version 0.0.12 to 0.1.0

fixtures/027-styled-list-items.js

2

package.json
{
"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')

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc