mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-30 15:18:50 +01:00
fix: type error in unit test
This commit is contained in:
parent
f4833b6b25
commit
7ea23c5a7d
1 changed files with 3 additions and 1 deletions
|
|
@ -36,7 +36,9 @@ describe('resolveHeaders', () => {
|
|||
});
|
||||
|
||||
it('should return empty object when headers is null', () => {
|
||||
const result = resolveHeaders({ headers: null as unknown as Record<string, string> | null });
|
||||
const result = resolveHeaders({
|
||||
headers: null as unknown as Record<string, string>,
|
||||
});
|
||||
expect(result).toEqual({});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue