Skip to content

Commit

Permalink
Expected: "***localhost:27017/db"
Browse files Browse the repository at this point in the history
typescript-service-app-1    |     Received: "***mongo:27017/db"
  • Loading branch information
cyri113 committed May 20, 2023
1 parent 29053c9 commit c508caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __test__/config/env.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe("env", () => {
expect.assertions(1);
process.env.MONGODB_NAME = "db";
const { env } = require("../../src/config/env");
expect(env.MONGODB_URL).toContain("localhost:27017/db");
expect(env.MONGODB_URL).toContain(":27017/db");
});
});
});

0 comments on commit c508caf

Please sign in to comment.