Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbutongit committed Feb 1, 2023
1 parent cb817cc commit cb771af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/services/__tests__/govuk-notify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const mockNotify = NOTIFY;

jest.mock("server/config", () => {
return {
...process.env,
DEFAULT_ALLOWED_EMAIL_DOMAINS: ["fcdo.gov.uk", "gov.uk", "fco.gov.uk"],
ALLOWED_EMAIL_DOMAINS: "gov.uk",
get GOVUK_NOTIFY_API_KEY() {
return mocks.GOVUK_NOTIFY_API_KEY;
},
Expand Down

0 comments on commit cb771af

Please sign in to comment.