Skip to content

Commit 6213bb2

Browse files
committed
Add test for quoting via hotkey
1 parent 20cf53b commit 6213bb2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,13 @@ describe('markdown-toolbar-element', function () {
468468
assert.equal('> |', visualValue())
469469
})
470470

471+
it('inserts selected quoted sample via hotkey', function () {
472+
focus()
473+
setVisualValue('')
474+
pressHotkey('.')
475+
assert.equal('> |', visualValue())
476+
})
477+
471478
it('quotes the selected text when you click the quote icon', function () {
472479
setVisualValue('|Butts|\n\nThe quick brown fox jumps over the lazy dog')
473480
clickToolbar('md-quote')

0 commit comments

Comments
 (0)