[ci] yarn format
This commit is contained in:
parent
f6ef53b7fa
commit
20c4efe5a2
2 changed files with 2 additions and 2 deletions
|
@ -673,7 +673,7 @@ async function compileHtml(enterNode: TemplateNode, state: CodegenState, compile
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
const content = buffers.out.replace(/^\,/, '').replace(/\,\)/g, ')').replace(/\,+/g, ',').replace(/\)h/g, '),h')
|
const content = buffers.out.replace(/^\,/, '').replace(/\,\)/g, ')').replace(/\,+/g, ',').replace(/\)h/g, '),h');
|
||||||
buffers.out = '';
|
buffers.out = '';
|
||||||
buffers.markdown = '';
|
buffers.markdown = '';
|
||||||
return resolve(content);
|
return resolve(content);
|
||||||
|
|
|
@ -65,7 +65,7 @@ Markdown('Renders recursively', async ({ runtime }) => {
|
||||||
if (result.error) throw new Error(result.error);
|
if (result.error) throw new Error(result.error);
|
||||||
|
|
||||||
console.log(result.contents);
|
console.log(result.contents);
|
||||||
|
|
||||||
const $ = doc(result.contents);
|
const $ = doc(result.contents);
|
||||||
assert.equal($('.a > h1').text(), 'A', 'Rendered title .a correctly');
|
assert.equal($('.a > h1').text(), 'A', 'Rendered title .a correctly');
|
||||||
assert.equal($('.b > h1').text(), 'B', 'Rendered title .b correctly');
|
assert.equal($('.b > h1').text(), 'B', 'Rendered title .b correctly');
|
||||||
|
|
Loading…
Reference in a new issue