Dev: Use prettier to format code
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
describe('sources', function ()
|
||||
{
|
||||
describe('sources', function() {
|
||||
var tool = eruda.get('sources'),
|
||||
$tool = $('.eruda-sources');
|
||||
|
||||
beforeEach(function ()
|
||||
{
|
||||
beforeEach(function() {
|
||||
eruda.show('sources');
|
||||
});
|
||||
});
|
||||
|
||||
describe('js', function ()
|
||||
{
|
||||
it('highlight', function ()
|
||||
{
|
||||
describe('js', function() {
|
||||
it('highlight', function() {
|
||||
tool.set('js', '/* test */');
|
||||
expect($tool.find('.eruda-content')).toContainHtml('<span style="color:#63a35c;">/* test */</span>');
|
||||
});
|
||||
});
|
||||
});
|
||||
expect($tool.find('.eruda-content')).toContainHtml(
|
||||
'<span style="color:#63a35c;">/* test */</span>'
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user