Silencing stupid three warning.

This commit is contained in:
Roland 2025-12-05 19:52:08 -07:00 • committed by lrnselfreliance
parent d7a02b5735
commit f0ea3351b7

View file

@ -3,6 +3,11 @@
import '@testing-library/jest-dom';
// Mock react-stl-viewer to avoid three.js errors in test environment
jest.mock('react-stl-viewer', () => ({
StlViewer: () => null,
}));
// Mock window.matchMedia (used by Semantic UI Media components)
Object.defineProperty(window, 'matchMedia', {
writable: true,