Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
aulorbe committed Oct 3, 2024
1 parent dbda5b4 commit 2941c65
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/integration/callSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const { setup } = require('./setup.ts');
const dotenv = require('dotenv');

module.exports = async function () {

dotenv.config();

const requiredEnvVars = ['PINECONE_API_KEY'];
Expand Down
2 changes: 1 addition & 1 deletion src/integration/control/createIndex.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BasePineconeError, PineconeNotFoundError } from '../../errors';
import { PineconeNotFoundError } from '../../errors';
import { Pinecone } from '../../index';
import { sleep } from '../test-helpers';

Expand Down
2 changes: 1 addition & 1 deletion src/integration/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from './test-helpers';

export const setup = async () => {
const pc = new Pinecone({ apiKey: process.env["PINECONE_API_KEY"]! });
const pc = new Pinecone({ apiKey: process.env['PINECONE_API_KEY']! });

// Create serverless index
await pc.createIndex({
Expand Down
2 changes: 1 addition & 1 deletion src/integration/teardown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { Pinecone } from '../pinecone';
import { serverlessIndexName } from './test-helpers';

export const teardown = async () => {
const pc = new Pinecone({ apiKey: process.env["PINECONE_API_KEY"]! });
const pc = new Pinecone({ apiKey: process.env['PINECONE_API_KEY']! });
await pc.deleteIndex(serverlessIndexName);
};

0 comments on commit 2941c65

Please sign in to comment.