Skip to content

Commit

Permalink
eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Oct 16, 2024
1 parent eb9ef93 commit 6f66c41
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/cypress/tests/api/blocks.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type EditorJS from '../../../../types/index';
import type { ConversionConfig, ToolboxConfig, ToolConfig } from '../../../../types';
import ToolMock, { MockToolData } from '../../fixtures/tools/ToolMock';
import ToolMock, { type MockToolData } from '../../fixtures/tools/ToolMock';
import { nanoid } from 'nanoid';

/**
Expand Down Expand Up @@ -476,7 +476,7 @@ describe('api.blocks', () => {
* Should return stringified config to see, if Editor actually passed tool config to it
*/
import: (content: string, config: ToolConfig) => MockToolData;
} {
} {
return {
export: (data) => data,
/**
Expand Down Expand Up @@ -504,7 +504,7 @@ describe('api.blocks', () => {
}).then(async (editor) => {
const { convert } = editor.blocks;

const returnValue = await convert(existingBlock.id, 'conversionTargetTool');
await convert(existingBlock.id, 'conversionTargetTool');

// wait for block to be converted
cy.wait(100).then(async () => {
Expand All @@ -521,7 +521,7 @@ describe('api.blocks', () => {
*/
expect(blocks[0].data.text).to.eq(JSON.stringify(conversionTargetToolConfig));
});
})
})
});
});
});
});

0 comments on commit 6f66c41

Please sign in to comment.