Skip to content

Commit

Permalink
Github hides usernames and passwords so updated test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed May 20, 2023
1 parent be88aed commit 29053c9
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).toEqual("mongodb://root:pass@localhost:27017/db");
expect(env.MONGODB_URL).toContain("localhost:27017/db");
});
});
});

0 comments on commit 29053c9

Please sign in to comment.