Custom blocks docs #764
Annotations
10 errors and 1 warning
src/jsonBlockPrompt.test.ts > jsonBlockPrompt > simple:
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
|
src/jsonBlockPrompt.test.ts > jsonBlockPrompt > complex:
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
|
test
Process completed with exit code 1.
|
format-check
Canceling since a higher priority waiting request for 'CI-refs/pull/224/merge' exists
|
lint
Canceling since a higher priority waiting request for 'CI-refs/pull/224/merge' exists
|
lint
The operation was canceled.
|
typecheck
Canceling since a higher priority waiting request for 'CI-refs/pull/224/merge' exists
|
typecheck
The operation was canceled.
|
build
Canceling since a higher priority waiting request for 'CI-refs/pull/224/merge' exists
|
build
The operation was canceled.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|