diff --git a/__test__/config/env.test.ts b/__test__/config/env.test.ts index faf39c9..4db0fa8 100644 --- a/__test__/config/env.test.ts +++ b/__test__/config/env.test.ts @@ -35,7 +35,7 @@ describe("env", () => { expect.assertions(1); process.env.MONGODB_NAME = "db"; const { env } = require("../../src/config/env"); - expect(env.MONGODB_URL).toEqual("mongodb://root:pass@localhost:27017/db"); + expect(env.MONGODB_URL).toContain("localhost:27017/db"); }); }); });