Skip to content

Add unit test#5

Open
remmel wants to merge 1 commit into
dalezak:mainfrom
remmel:main
Open

Add unit test#5
remmel wants to merge 1 commit into
dalezak:mainfrom
remmel:main

Conversation

@remmel
Copy link
Copy Markdown

@remmel remmel commented Dec 24, 2022

Add jest to test getCardNumbers method for with default # or url

I guess it will be better to reorganize the code instead of setting env variables like I have done. And also make it easier to set a custom github context payload message for testing purpose.
Duplicated code to set the env var

I didn't tried the full code, only ran the test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant