Lint: fix formatting in test
This commit is contained in:
parent
a50bee4383
commit
e41a8c8af1
@ -75,7 +75,7 @@ describe('sanitizeSessionHistory', () => {
|
|||||||
it('should NOT downgrade history for non-Google models', async () => {
|
it('should NOT downgrade history for non-Google models', async () => {
|
||||||
vi.mocked(helpers.isGoogleModelApi).mockReturnValue(false);
|
vi.mocked(helpers.isGoogleModelApi).mockReturnValue(false);
|
||||||
|
|
||||||
const result = await sanitizeSessionHistory({
|
const _result = await sanitizeSessionHistory({
|
||||||
messages: mockMessages,
|
messages: mockMessages,
|
||||||
modelApi: 'anthropic-messages',
|
modelApi: 'anthropic-messages',
|
||||||
provider: 'anthropic',
|
provider: 'anthropic',
|
||||||
@ -90,7 +90,7 @@ describe('sanitizeSessionHistory', () => {
|
|||||||
it('should downgrade history if provider is undefined but model is Google', async () => {
|
it('should downgrade history if provider is undefined but model is Google', async () => {
|
||||||
vi.mocked(helpers.isGoogleModelApi).mockReturnValue(true);
|
vi.mocked(helpers.isGoogleModelApi).mockReturnValue(true);
|
||||||
|
|
||||||
const result = await sanitizeSessionHistory({
|
const _result = await sanitizeSessionHistory({
|
||||||
messages: mockMessages,
|
messages: mockMessages,
|
||||||
modelApi: 'google-gemini',
|
modelApi: 'google-gemini',
|
||||||
provider: undefined,
|
provider: undefined,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user