Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbutongit committed Feb 1, 2023
1 parent 517159c commit cb817cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/server/services/__tests__/govuk-notify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ const mocks: { [name: string]: undefined | string } = {

const mockNotify = NOTIFY;

const env = { ...process.env };

jest.mock("server/config", () => {
return {
...env,
...process.env,
get GOVUK_NOTIFY_API_KEY() {
return mocks.GOVUK_NOTIFY_API_KEY;
},
Expand Down

0 comments on commit cb817cc

Please sign in to comment.