Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Aug 27, 2023
1 parent 5313664 commit a2a22d3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/core/selection/style/style.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -912,9 +912,6 @@ describe('Apply style', () => {
{ enter: 'BR' }
]
].forEach(function runTest(args) {
if (!Array.isArray(args)) {
debugger;
}
const [input, opt, output, jSettings] = args;

if (Array.isArray(opt)) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/font/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Config.prototype.controls.fontsize = {

isChildActive: (editor, button): boolean => {
const value = button.state.value;
const normalize = button.control.data?.normalize ?? ((v: unknown) => v);
const normalize = button.control.data?.normalize ?? (<T>(v: T): T => v);
return Boolean(
value &&
button.control.args &&
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/size/size.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
});
});

it('Should set editor height by content in iframe mode', async () =>{
it('Should set editor height by content in iframe mode', async () => {
const editor = getJodit({
iframe: true
});
Expand Down

0 comments on commit a2a22d3

Please sign in to comment.