Custom blocks docs #765
Annotations
4 errors
|
Run pnpm test:
packages/json/src/jsonBlockPrompt.test.ts#L13
Error: Snapshot `jsonBlockPrompt > simple 1` mismatched
- Expected
+ Received
- "You can respond with a simple component by wrapping JSON in 【】. The schema is:
+ "You can respond with a simple component by wrapping JSON in 【】.
+ The JSON schema is:
{"type":"object","properties":{"a":{"type":"string"}},"required":["a"]}
Examples:
【{"a":"example"}】"
❯ src/jsonBlockPrompt.test.ts:13:7
|
Run pnpm test:
packages/json/src/jsonBlockPrompt.test.ts#L31
Error: Snapshot `jsonBlockPrompt > complex 1` mismatched
- Expected
+ Received
- "You can respond with a complex component by wrapping JSON in 【】. The schema is:
+ "You can respond with a complex component by wrapping JSON in 【】.
+ The JSON schema is:
{"type":"object","properties":{"a":{"type":"array","items":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"}},"required":["a","b"],"additionalProperties":false}}},"required":["a"]}
Examples:
【{"a":[{"a":"a","b":"b"}]}】"
❯ src/jsonBlockPrompt.test.ts:31:7
|
Run pnpm test
The operation was canceled.
|
The logs for this run have expired and are no longer available.
Loading