MCPcopy
hub / github.com/markdoc/markdoc / validate

Function validate

src/validator.test.ts:4–6  ·  view source on GitHub ↗
(string, config)

Source from the content-addressed store, hash-verified

2import type { Config, ValidationError } from './types';
3
4function validate(string, config) {
5 return Markdoc.validate(Markdoc.parse(string), config);
6}
7
8describe('validate', function () {
9 describe('function validation', function () {

Callers 1

validator.test.tsFile · 0.70

Calls 2

toDeepEqualMethod · 0.80
validateMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…