We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 483591b commit 6a095eeCopy full SHA for 6a095ee
packages/core/src/test/shared/markdown.test.ts
@@ -27,11 +27,6 @@ describe('extractCodeBlockLanguage', () => {
27
assert.strictEqual(extractCodeBlockLanguage(message), 'typescript')
28
})
29
30
- it('should return "plaintext" when the code block is not closed', () => {
31
- const message = 'Incomplete code block:\n```javascript\nconsole.log("Hello");'
32
- assert.strictEqual(extractCodeBlockLanguage(message), 'plaintext')
33
- })
34
-
35
it('should handle empty messages', () => {
36
assert.strictEqual(extractCodeBlockLanguage(''), 'plaintext')
37
0 commit comments