1
0
mirror of synced 2025-12-12 09:41:28 +08:00

Dev: Use prettier to format code

This commit is contained in:
redhoodsu
2018-06-12 22:19:56 +08:00
parent 70b5aedc36
commit 1e5a6560fa
68 changed files with 5051 additions and 5884 deletions

View File

@@ -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>'
);
});
});
});