Skip to content

Commit

Permalink
chore: fix missing env var in test
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotot committed Oct 1, 2024
1 parent 48142c5 commit 1bc8277
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default async () => {
console.log(`Restored MongoDB dump in ${endTime - startTime}ms`);
const mongoUrl = mongoUri.replace("mongodb://", "");
const [host, port] = mongoUrl.split(":");
process.env.SERVER_DOMAIN = "http://localhost";
process.env.SERVER_PORT = String(TEST_PORT);
process.env.SERVER_ENV = "test";
process.env.SERVER_SESSION_SECRET = "secret-test-key";
Expand Down

0 comments on commit 1bc8277

Please sign in to comment.