Custom blocks docs #762
ci.yml
on: pull_request
format-check
43s
lint
36s
typecheck
52s
test
30s
build
2m 30s
Annotations
3 errors and 5 warnings
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.
|
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/.
|
lint
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/.
|
format-check
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/.
|
typecheck
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/.
|
build
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/.
|