Skip to content

Commit 78f4633

Browse files
committed
fix: remove unused import of Image type from utils.spec.ts
1 parent 08290d2 commit 78f4633

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

shared/features/thumbnail/utils.spec.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Image } from './types';
21
import { getKeyText, instrumentColors, isDarkColor } from './utils';
32

43
// Mock canvasFactory
@@ -16,12 +15,6 @@ jest.mock('./canvasFactory', () => ({
1615
})),
1716
}));
1817

19-
// Mock Image type
20-
const mockImage: Image = {
21-
width: 100,
22-
height: 100,
23-
};
24-
2518
describe('instrumentColors', () => {
2619
it('should contain 16 color codes', () => {
2720
expect(instrumentColors).toHaveLength(16);

0 commit comments

Comments
 (0)