mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
Lint: fix formatting in test
This commit is contained in:
committed by
Peter Steinberger
parent
a50bee4383
commit
e41a8c8af1
@@ -75,7 +75,7 @@ describe('sanitizeSessionHistory', () => {
|
||||
it('should NOT downgrade history for non-Google models', async () => {
|
||||
vi.mocked(helpers.isGoogleModelApi).mockReturnValue(false);
|
||||
|
||||
const result = await sanitizeSessionHistory({
|
||||
const _result = await sanitizeSessionHistory({
|
||||
messages: mockMessages,
|
||||
modelApi: 'anthropic-messages',
|
||||
provider: 'anthropic',
|
||||
@@ -90,7 +90,7 @@ describe('sanitizeSessionHistory', () => {
|
||||
it('should downgrade history if provider is undefined but model is Google', async () => {
|
||||
vi.mocked(helpers.isGoogleModelApi).mockReturnValue(true);
|
||||
|
||||
const result = await sanitizeSessionHistory({
|
||||
const _result = await sanitizeSessionHistory({
|
||||
messages: mockMessages,
|
||||
modelApi: 'google-gemini',
|
||||
provider: undefined,
|
||||
|
||||
Reference in New Issue
Block a user