A snapshot of the zcap-spec, embedded as a string.
GENERATED FILE -- do not edit by hand. Regenerate with:
npm run fixture:update Copy
npm run fixture:update
Exists so that tests and scratch scripts have a realistic document to work with, offline and without hitting the network:
import { extractExamplesFromHtml } from "zcap-spec-examples";import { zcapSpecHtml } from "zcap-spec-examples/fixtures";const examples = extractExamplesFromHtml(zcapSpecHtml); Copy
import { extractExamplesFromHtml } from "zcap-spec-examples";import { zcapSpecHtml } from "zcap-spec-examples/fixtures";const examples = extractExamplesFromHtml(zcapSpecHtml);
It is a real ReSpec source document, so it exercises the things a hand-written fixture tends to miss: respecConfig.edDraftURI, <pre class="example ..."> blocks with no id attributes, HTML entities, and JSON-with-comments example bodies.
respecConfig.edDraftURI
<pre class="example ...">
id
A snapshot of the zcap-spec, embedded as a string.
GENERATED FILE -- do not edit by hand. Regenerate with:
Exists so that tests and scratch scripts have a realistic document to work with, offline and without hitting the network:
It is a real ReSpec source document, so it exercises the things a hand-written fixture tends to miss:
respecConfig.edDraftURI,<pre class="example ...">blocks with noidattributes, HTML entities, and JSON-with-comments example bodies.