Use jsdoc/multiline-blocks instead of multiline-comment-style
Replace multiline-comment-style (starred-block), which also forces multiline // comments into block comments, with jsdoc/multiline-blocks. That rule only enforces starred JSDoc layout for /** blocks (no text on the opening line) and leaves multiline // comments unchanged for internal documentation. Fix multiline JSDoc in Types.ts. Fixes #5899 Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Imms
parent
4ec85e67ba
commit
df3422fb0b
@@ -26,24 +26,18 @@ test.describe('FitAddon', () => {
|
||||
`);
|
||||
});
|
||||
|
||||
/*
|
||||
* test.beforeEach(async function(): Promise<any> {
|
||||
* await ctx.page.evaluate(`document.querySelector('#terminal-container').style.display=''`);
|
||||
* await openTerminal(page);
|
||||
* });
|
||||
*/
|
||||
// test.beforeEach(async function(): Promise<any> {
|
||||
// await ctx.page.evaluate(`document.querySelector('#terminal-container').style.display=''`);
|
||||
// await openTerminal(page);
|
||||
// });
|
||||
|
||||
/*
|
||||
* after(async () => {
|
||||
* await browser.close();
|
||||
* });
|
||||
*/
|
||||
// after(async () => {
|
||||
// await browser.close();
|
||||
// });
|
||||
|
||||
/*
|
||||
* afterEach(async function(): Promise<any> {
|
||||
* await ctx.proxy.dispose();
|
||||
* });
|
||||
*/
|
||||
// afterEach(async function(): Promise<any> {
|
||||
// await ctx.proxy.dispose();
|
||||
// });
|
||||
|
||||
test('no terminal', async function(): Promise<any> {
|
||||
await ctx.page.evaluate(`window.fit2 = new FitAddon();`);
|
||||
@@ -85,10 +79,8 @@ test.describe('FitAddon', () => {
|
||||
await ctx.page.evaluate(`window.term.open(document.querySelector('#terminal-container'))`);
|
||||
await setDimensions();
|
||||
const dimensions: { cols: number, rows: number } | undefined = await ctx.page.evaluate(`window.fit.proposeDimensions()`);
|
||||
/*
|
||||
* The value of dims will be undefined if the char measure strategy falls back to the DOM
|
||||
* method, so only assert if it's not undefined.
|
||||
*/
|
||||
// The value of dims will be undefined if the char measure strategy falls back to the DOM
|
||||
// method, so only assert if it's not undefined.
|
||||
if (dimensions) {
|
||||
ok(dimensions.cols > 85);
|
||||
ok(dimensions.cols < 88);
|
||||
|
||||
Reference in New Issue
Block a user