Silencing stupid three warning.

This commit is contained in:
Roland 2025-12-05 19:52:08 -07:00
parent 8b7b29dc62
commit 2d41967d2b
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

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,