Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Implemented a mock slack api for testing #41

Open
wants to merge 4 commits into
base: feature/typescript-convert
Choose a base branch
from

Conversation

blazkaplenik
Copy link
Collaborator

No description provided.

index.ts Outdated Show resolved Hide resolved
dotenv.config();

const {
MOCK_SLACK_PORT: port = '5010',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could extract this and other configs to a new config.ts file where the dotenv is initialized and then export the config object so we can just import the config object and use whatever variable we need?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me, will implement.

- Also changed the slack client from the legacy client to current WebClient
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants