mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Silencing stupid three warning.
This commit is contained in:
parent
d7a02b5735
commit
f0ea3351b7
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue