fix: should handle continuation of p element #126
GitHub Actions / Chronocat Unit Tests
failed
Sep 22, 2024 in 0s
3 passed, 2 failed and 0 skipped
❌ coverage/jest-junit.xml
5 tests were completed in 15s with 3 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
packages/engine-chronocat-api/tests/messager/fixtures/text/index.test.ts | 3✅ | 2❌ | 11s |
❌ packages/engine-chronocat-api/tests/messager/fixtures/text/index.test.ts
✅ Red 编码器应当正确编码 纯文本消息
✅ Red 编码器应当正确编码 链接
✅ Red 编码器应当正确编码 br 换行
❌ Red 编码器应当正确编码 p 换行
Error: expect(received).toMatchSnapshot()
❌ Red 编码器应当正确编码 br/p 混搭换行
Error: expect(received).toMatchSnapshot()
Annotations
github-actions / Chronocat Unit Tests
packages/engine-chronocat-api/tests/messager/fixtures/text/index.test.ts ► Red 编码器应当正确编码 p 换行
Failed test found in:
coverage/jest-junit.xml
Error:
Error: expect(received).toMatchSnapshot()
Raw output
Error: expect(received).toMatchSnapshot()
Snapshot name: `Red 编码器应当正确编码 p 换行 1`
- Snapshot - 2
+ Received + 6
@@ -14,20 +14,24 @@
"atTinyId": "",
"atType": 0,
"atUid": "",
"content": "aaa
bbb
-
ccc
ddd
-
eee
+
fff
+
+
ggg
+
hhh
+
+
iii",
},
},
],
],
at Object.<anonymous> (/home/runner/work/chronocat/chronocat/packages/engine-chronocat-api/tests/messager/fixtures/text/index.test.ts:100:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
github-actions / Chronocat Unit Tests
packages/engine-chronocat-api/tests/messager/fixtures/text/index.test.ts ► Red 编码器应当正确编码 br/p 混搭换行
Failed test found in:
coverage/jest-junit.xml
Error:
Error: expect(received).toMatchSnapshot()
Raw output
Error: expect(received).toMatchSnapshot()
Snapshot name: `Red 编码器应当正确编码 br/p 混搭换行 1`
- Snapshot - 4
+ Received + 6
@@ -18,24 +18,26 @@
bbb
uuu
ccc
ddd
-
eee
-
vvv
www
+
fff
+
+
ggg
+
hhh
- iii
+
+ iii
xxx
yyy
-
zzz",
},
},
],
at Object.<anonymous> (/home/runner/work/chronocat/chronocat/packages/engine-chronocat-api/tests/messager/fixtures/text/index.test.ts:127:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Loading