test: fix transform test
This commit is contained in:
@@ -681,7 +681,6 @@ describe("ProviderTransform.message - strip openai metadata when store=false", (
|
|||||||
|
|
||||||
expect(result).toHaveLength(1)
|
expect(result).toHaveLength(1)
|
||||||
expect(result[0].content[0].providerOptions?.openai?.itemId).toBeUndefined()
|
expect(result[0].content[0].providerOptions?.openai?.itemId).toBeUndefined()
|
||||||
expect(result[0].content[0].providerOptions?.openai?.reasoningEncryptedContent).toBeUndefined()
|
|
||||||
expect(result[0].content[1].providerOptions?.openai?.itemId).toBeUndefined()
|
expect(result[0].content[1].providerOptions?.openai?.itemId).toBeUndefined()
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -721,7 +720,6 @@ describe("ProviderTransform.message - strip openai metadata when store=false", (
|
|||||||
|
|
||||||
expect(result).toHaveLength(1)
|
expect(result).toHaveLength(1)
|
||||||
expect(result[0].content[0].providerOptions?.openai?.itemId).toBeUndefined()
|
expect(result[0].content[0].providerOptions?.openai?.itemId).toBeUndefined()
|
||||||
expect(result[0].content[0].providerOptions?.openai?.reasoningEncryptedContent).toBeUndefined()
|
|
||||||
expect(result[0].content[1].providerOptions?.openai?.itemId).toBeUndefined()
|
expect(result[0].content[1].providerOptions?.openai?.itemId).toBeUndefined()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user