Skip to content

Commit

Permalink
improve code coverage for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sethuk07 committed Sep 21, 2021
1 parent 48d0a40 commit 2472e5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ describe('8398a7/action-slack', () => {
beforeEach(() => {
process.env.GITHUB_REPOSITORY = '8398a7/action-slack';
process.env.GITHUB_EVENT_NAME = 'push';
process.env.https_proxy = 'http://localhost:1334';
process.env.HTTPS_PROXY = 'http://localhost:1334';
const github = require('@actions/github');
github.context.payload = {};
});
Expand Down

0 comments on commit 2472e5d

Please sign in to comment.