We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08290d2 commit 78f4633Copy full SHA for 78f4633
shared/features/thumbnail/utils.spec.ts
@@ -1,4 +1,3 @@
1
-import { Image } from './types';
2
import { getKeyText, instrumentColors, isDarkColor } from './utils';
3
4
// Mock canvasFactory
@@ -16,12 +15,6 @@ jest.mock('./canvasFactory', () => ({
16
15
})),
17
}));
18
19
-// Mock Image type
20
-const mockImage: Image = {
21
- width: 100,
22
- height: 100,
23
-};
24
-
25
describe('instrumentColors', () => {
26
it('should contain 16 color codes', () => {
27
expect(instrumentColors).toHaveLength(16);
0 commit comments