Commit 374e03c4 authored by ioedeveloper's avatar ioedeveloper

Fixed failing tests

parent 79667749
......@@ -10,7 +10,7 @@ class GetEditorValue extends EventEmitter {
elem.editor.getValue()
}, [], (result) => {
done()
callback(typeof result.value === 'string' ? result.value : '')
typeof result.value === 'string' && callback(result.value)
this.emit('complete')
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment