mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 05:38:51 +01:00
🧠 feat: Enforce Token Limit for Memory Usage (#8401)
This commit is contained in:
parent
2e1874e596
commit
8e869f2274
10 changed files with 765 additions and 31 deletions
|
|
@ -17,6 +17,9 @@ import '@testing-library/jest-dom/extend-expect';
|
|||
// 'react-lottie' uses canvas
|
||||
import 'jest-canvas-mock';
|
||||
|
||||
// Mock ResizeObserver
|
||||
import './resizeObserver.mock';
|
||||
|
||||
beforeEach(() => {
|
||||
jest.clearAllMocks();
|
||||
});
|
||||
|
|
@ -40,4 +43,4 @@ jest.mock('react-i18next', () => {
|
|||
init: jest.fn(),
|
||||
},
|
||||
};
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue