Skip to content

Commit 92c08f1

Browse files
algolia-botmillotp
andcommitted
chore(scripts): remove dotenv (#5088) (generated) [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent 5c09713 commit 92c08f1

File tree

9 files changed

+0
-25
lines changed

9 files changed

+0
-25
lines changed

tests/output/javascript/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
},
1414
"devDependencies": {
1515
"@types/node": "22.16.0",
16-
"dotenv": "17.0.1",
1716
"typescript": "5.8.3",
1817
"vitest": "3.2.4"
1918
}

tests/output/javascript/src/e2e/abtesting.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { describe, expect, test } from 'vitest';
44
import { union } from '../helpers.js';
55

66
import { algoliasearch } from 'algoliasearch';
7-
import * as dotenv from 'dotenv';
8-
9-
dotenv.config({ path: '../../.env' });
107

118
if (!process.env.ALGOLIA_APPLICATION_ID) {
129
throw new Error('please provide an `ALGOLIA_APPLICATION_ID` env var for e2e tests');

tests/output/javascript/src/e2e/algoliasearch.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { describe, expect, test } from 'vitest';
44
import { union } from '../helpers.js';
55

66
import { liteClient } from 'algoliasearch/lite';
7-
import * as dotenv from 'dotenv';
8-
9-
dotenv.config({ path: '../../.env' });
107

118
if (!process.env.ALGOLIA_APPLICATION_ID) {
129
throw new Error('please provide an `ALGOLIA_APPLICATION_ID` env var for e2e tests');

tests/output/javascript/src/e2e/compositionFull.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { describe, expect, test } from 'vitest';
44
import { union } from '../helpers.js';
55

66
import { compositionClient } from '@algolia/client-composition';
7-
import * as dotenv from 'dotenv';
8-
9-
dotenv.config({ path: '../../.env' });
107

118
if (!process.env.METIS_APPLICATION_ID) {
129
throw new Error('please provide an `METIS_APPLICATION_ID` env var for e2e tests');

tests/output/javascript/src/e2e/ingestion.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { describe, expect, test } from 'vitest';
44
import { union } from '../helpers.js';
55

66
import { algoliasearch } from 'algoliasearch';
7-
import * as dotenv from 'dotenv';
8-
9-
dotenv.config({ path: '../../.env' });
107

118
if (!process.env.ALGOLIA_APPLICATION_ID) {
129
throw new Error('please provide an `ALGOLIA_APPLICATION_ID` env var for e2e tests');

tests/output/javascript/src/e2e/insights.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { describe, expect, test } from 'vitest';
44
import { union } from '../helpers.js';
55

66
import { algoliasearch } from 'algoliasearch';
7-
import * as dotenv from 'dotenv';
8-
9-
dotenv.config({ path: '../../.env' });
107

118
if (!process.env.ALGOLIA_APPLICATION_ID) {
129
throw new Error('please provide an `ALGOLIA_APPLICATION_ID` env var for e2e tests');

tests/output/javascript/src/e2e/querySuggestions.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { describe, expect, test } from 'vitest';
44
import { union } from '../helpers.js';
55

66
import { algoliasearch } from 'algoliasearch';
7-
import * as dotenv from 'dotenv';
8-
9-
dotenv.config({ path: '../../.env' });
107

118
if (!process.env.ALGOLIA_APPLICATION_ID) {
129
throw new Error('please provide an `ALGOLIA_APPLICATION_ID` env var for e2e tests');

tests/output/javascript/src/e2e/recommend.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { describe, expect, test } from 'vitest';
44
import { union } from '../helpers.js';
55

66
import { algoliasearch } from 'algoliasearch';
7-
import * as dotenv from 'dotenv';
8-
9-
dotenv.config({ path: '../../.env' });
107

118
if (!process.env.ALGOLIA_APPLICATION_ID) {
129
throw new Error('please provide an `ALGOLIA_APPLICATION_ID` env var for e2e tests');

tests/output/javascript/src/e2e/search.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { describe, expect, test } from 'vitest';
44
import { union } from '../helpers.js';
55

66
import { algoliasearch } from 'algoliasearch';
7-
import * as dotenv from 'dotenv';
8-
9-
dotenv.config({ path: '../../.env' });
107

118
if (!process.env.ALGOLIA_APPLICATION_ID) {
129
throw new Error('please provide an `ALGOLIA_APPLICATION_ID` env var for e2e tests');

0 commit comments

Comments
 (0)