Skip to content

Commit 92b4f3a

Browse files
chat/messageTools runs
1 parent dfe309d commit 92b4f3a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

test/unit/chat/messageTools.test.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,28 @@ describe('sentimentStrip', () => {
88
it('exists', () => {
99
expect(sentimentStrip).toBeInstanceOf(Function)
1010
})
11+
it('runs', () => {
12+
expect(sentimentStrip()).toBeInstanceOf(Text)
13+
})
1114
})
1215

1316
describe('sentimentStripLinked', () => {
1417
it('exists', () => {
1518
expect(sentimentStripLinked).toBeInstanceOf(Function)
1619
})
20+
it('runs', () => {
21+
const target = {}
22+
const doc = {}
23+
expect(sentimentStripLinked(target, doc)).toBeInstanceOf(HTMLSpanElement)
24+
})
1725
})
1826

1927
describe('messageToolbar', () => {
2028
it('exists', () => {
2129
expect(messageToolbar).toBeInstanceOf(Function)
2230
})
31+
it('runs', () => {
32+
expect(messageToolbar()).toBeInstanceOf(HTMLDivElement)
33+
})
34+
2335
})

0 commit comments

Comments
 (0)