From a720f00a2dcc20679e81bf7d83a56da1d325bb6e Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Wed, 31 Mar 2021 10:00:42 -0300 Subject: [PATCH] allow slackbot to function from local environment --- tests/e2e/env/src/slack/reporter.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/e2e/env/src/slack/reporter.js b/tests/e2e/env/src/slack/reporter.js index 7e690102dbf..bdb02326ad6 100644 --- a/tests/e2e/env/src/slack/reporter.js +++ b/tests/e2e/env/src/slack/reporter.js @@ -37,7 +37,11 @@ const initializeSlack = () => { return false; } if ( ! GITHUB_ACTIONS && ! TRAVIS_PULL_REQUEST_BRANCH ) { - return false; + return { + branch: 'local environment', + commit: 'latest', + webUrl: 'http:://localhost', + }; } // Build PR info if ( GITHUB_ACTIONS ) {