mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
feat(js-sdk/test): add API_URL env var
This commit is contained in:
parent
ad70c30be5
commit
5adfd74cc5
|
@ -6,7 +6,7 @@ import { describe, test, expect } from '@jest/globals';
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
|
||||||
const TEST_API_KEY = process.env.TEST_API_KEY;
|
const TEST_API_KEY = process.env.TEST_API_KEY;
|
||||||
const API_URL = "https://api.firecrawl.dev";
|
const API_URL = process.env.API_URL ?? "https://api.firecrawl.dev";
|
||||||
|
|
||||||
describe('FirecrawlApp E2E Tests', () => {
|
describe('FirecrawlApp E2E Tests', () => {
|
||||||
test.concurrent('should throw error for no API key', async () => {
|
test.concurrent('should throw error for no API key', async () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user