mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 20:16:03 +08:00
test: usedbauth envs wth
This commit is contained in:
parent
cb8571abad
commit
78edf13ec6
@ -22,6 +22,13 @@ describe("E2E Tests for v1 API Routes", () => {
|
|||||||
const response: ScrapeResponseRequestTest = await request(TEST_URL).get(
|
const response: ScrapeResponseRequestTest = await request(TEST_URL).get(
|
||||||
"/is-production"
|
"/is-production"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
console.log('process.env.USE_DB_AUTHENTICATION', process.env.USE_DB_AUTHENTICATION);
|
||||||
|
console.log('?', process.env.USE_DB_AUTHENTICATION === 'true');
|
||||||
|
const useDbAuthentication = process.env.USE_DB_AUTHENTICATION === 'true';
|
||||||
|
console.log('useDbAuthentication', useDbAuthentication);
|
||||||
|
console.log('!useDbAuthentication', !useDbAuthentication);
|
||||||
|
|
||||||
expect(response.statusCode).toBe(200);
|
expect(response.statusCode).toBe(200);
|
||||||
expect(response.body).toHaveProperty("isProduction");
|
expect(response.body).toHaveProperty("isProduction");
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user