You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/special-tags/special-tags.test.ts
+12-10Lines changed: 12 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -330,8 +330,8 @@ describe('parseSpecialTags with <question>', () => {
330
330
// fails JSON.parse, so the old was-it-ever-JSON test called them prose and
331
331
// rendered the whole payload verbatim — the markdown layer then swallowed
332
332
// the tag markers and the reader saw a wall of raw JSON. They open `{"` or
333
-
// `[{`, which marks them as attempted payloads: droppable, like any other
334
-
// broken emission.
333
+
// `[{` and carry key-value colons, which marks them as attempted payloads:
334
+
// droppable, like any other broken emission.
335
335
constcases=[
336
336
'Prose before. <question>{"type": "single_select", "prompt": "How should I proceed?", "options": [{"id": "a", "label": "Confirm the id"}}]}</question>',
337
337
'Prose before. <question>{"type":"multi_select","prompt":"What should I build now?",options": [{"id":"lib","label":"Pattern library"}]}</question>',
@@ -377,15 +377,17 @@ describe('parseSpecialTags with <question>', () => {
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/special-tags/special-tags.tsx
0 commit comments