Skip to content

Commit 0093cea

Browse files
committed
chore(): lint fix
1 parent afd14a4 commit 0093cea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/collaboration-manager/src/BatchedOperation.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { createDataKey, Index, IndexBuilder, type TextRange } from '@editorjs/model';
1+
import type { Index } from '@editorjs/model';
2+
import { createDataKey, IndexBuilder, type TextRange } from '@editorjs/model';
23
import { BatchedOperation } from './BatchedOperation.js';
34
import type { SerializedOperation } from './Operation.js';
45
import { Operation, OperationType } from './Operation.js';
@@ -98,10 +99,10 @@ describe('Batch', () => {
9899
expect(transformedBatch).not.toBeNull();
99100
expect(transformedBatch!.operations.length).toBe(2);
100101
// Check if text ranges were shifted by 1 due to insertion
101-
/* eslint-disable @typescript-eslint-no-magic-numbers */
102+
/* eslint-disable @typescript-eslint/no-magic-numbers */
102103
expect(transformedBatch!.operations[0].index.textRange![0]).toBe(2);
103104
expect(transformedBatch!.operations[1].index.textRange![0]).toBe(3);
104-
/* eslint-enable @typescript-eslint-no-magic-numbers */
105+
/* eslint-enable @typescript-eslint/no-magic-numbers */
105106
});
106107

107108
it('should return batch with Neutral operations if no operations can be transformed', () => {

0 commit comments

Comments
 (0)