Closed haliliceylan closed 1 year ago
@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you
@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you
I enforce Fatih's suggestion
@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you
I enforce Fatih's suggestion
@esau-morais what do you mean by that?
@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you
I enforce Fatih's suggestion
@esau-morais what do you mean by that?
I'm just agreeing that it'd would be great to apply your suggestion
@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you
I can move it to a separate function. I would love to write to tests !
Test scenarios can be as follows;
Is there a test written for CI Script as an example in this repository?
@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you
I enforce Fatih's suggestion
@esau-morais what do you mean by that?
I'm just agreeing that it'd would be great to apply your suggestion
Thank you. I wasn't sure whether you were applying the suggestion or just supporting the idea. Thanks for the explanation
@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you
I can move it to a separate function. I would love to write to tests !
Test scenarios can be as follows;
- correct scenario, 2 different github usernames, 2 different domains
- wrong scenario, 2 same github username, 2 different domains
Is there a test written for CI Script as an example in this repository?
No, but I will set it up in a few hours
I see that you already did 🚀 @haliliceylan
I separated my function, also I created a separate file for my function. Because If I try to import the "check-registry.js" file, main() function is working and gives an error. So I created a new folder for registry file related checks then I put my script into it.
I installed the jest package.
I create a GitHub workflow file for when "ci" folder changes, it will run all tests under "ci" folder. idk is working or not; In my local I tried with "act" command (local github workflow simulator) and it seems ok
oh i forget to add pull_request
in workflow file...
oh i forget to add
pull_request
in workflow file...
I fixed it now. I am merging it. Thank you
fix #108