git-for-windows / gfw-helper-github-app

1 stars 6 forks source link

Add a test suite #16

Closed dscho closed 1 year ago

dscho commented 1 year ago

Now that we're relying more and more on GitForWindowsHelper, it is becoming more and more risky that we deploy without really having any way to test automatically, other than the (admittedly excellent) linting facilities provided by ESLint.

Let's add a Jest-based test suite, much like GitGitGadget has.

Since GitForWindowsHelper is not written in Typescript, but instead in pure JavaScript, things should be slightly easier over here. Off the top of my head, we will need to: