mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-29 14:48:51 +01:00
refactor: move tokens.js over to packages/api and update imports
This commit is contained in:
parent
efdad28b70
commit
d1d4c2eb27
17 changed files with 39 additions and 34 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const axios = require('axios');
|
||||
const deriveBaseURL = require('./deriveBaseURL');
|
||||
jest.mock('~/utils', () => {
|
||||
const originalUtils = jest.requireActual('~/utils');
|
||||
jest.mock('@librechat/api', () => {
|
||||
const originalUtils = jest.requireActual('@librechat/api');
|
||||
return {
|
||||
...originalUtils,
|
||||
processModelData: jest.fn((...args) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue