14 lines
295 B
JavaScript
14 lines
295 B
JavaScript
describe('sources', function () {
|
|
let tool = eruda.get('sources')
|
|
let $tool = $('.eruda-sources')
|
|
|
|
beforeEach(function () {
|
|
eruda.show('sources')
|
|
})
|
|
|
|
it('raw', function () {
|
|
tool.set('raw', '/* test */')
|
|
expect($tool.find('.eruda-raw')).toContainHtml('/* test */')
|
|
})
|
|
})
|