Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ jobs:

- name: Run e2e tests
run: npm run test:e2e -- --runInBand
env:
NODE_ENV: test
INK_EXPIRY_MINUTES: 60
MAX_FILE_SIZE_MB: 10
CLEANUP_INTERVAL_SECONDS: 10
4 changes: 2 additions & 2 deletions src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import path from "path";
require("dotenv").config();

const config = {
downloadDomain: process.env.DOWNLOAD_DOMAIN,
env: process.env.ENV_TYPE,
downloadDomain: process.env.DOWNLOAD_DOMAIN || "localhost",
env: process.env.ENV_TYPE || "dev",
port: process.env.PORT || 3000,
uploadDir: path.resolve(__dirname, "..", "..", "storage"),
maxFileSizeMB: process.env.MAX_FILE_SIZE_MB,
Expand Down
3 changes: 0 additions & 3 deletions test/utils/bootstrap.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import http from "http";
import { Express } from "express";
import request from "supertest";

import app from "../../src/app";

import { fileService } from "../../src/services/file.service";
import { logger } from "../../src/utils/logger";

Expand Down