eslint fix

This commit is contained in:
Andrew Miracle
2024-01-09 16:27:22 +01:00
parent ee1d0b596f
commit 821cf0e434
2 changed files with 15 additions and 18 deletions

View File

@@ -24,16 +24,15 @@ const OpenAIApi = require('openai')
const { stub } = require('sinon')
describe('OpenAPIEmbeddings', function () {
const stubValue = {
data: [
{
embedding: Array(1536).fill(1.0)
},
{
embedding: Array(1536).fill(2.0)
}
]
data: [
{
embedding: Array(1536).fill(1.0)
},
{
embedding: Array(1536).fill(2.0)
}
]
}
describe('#embed', function () {