hackforla / website

Hack for LA's website
https://www.hackforla.org
GNU General Public License v2.0
315 stars 753 forks source link

Research and Provide a Demo of Unit Testing for front-end JavaScript code #7152

Open roslynwythe opened 1 month ago

roslynwythe commented 1 month ago

Overview

We need to select a strategy and a test framework for running unit tests against the front-end JavaScript code in the HfLA website, so that tests can be run first locally and then ultimately as a Pull Request check, in order to ensure the quality of JavaScript code updates. In this issue several sample unit tests will be developed and will be run locally from the command line.

Action Items

Resources/Instructions

https://jasmine.github.io/ [How to Test a GitHub Action with GitHub Actions]

HackforLABot commented 1 month ago

Hi @roslynwythe, thank you for taking up this issue! Hfla appreciates you :)

Do let fellow developers know about your:- i. Availability: (When are you available to work on the issue/answer questions other programmers might have about your issue?) ii. ETA: (When do you expect this issue to be completed?)

You're awesome!

P.S. - You may not take up another issue until this issue gets merged (or closed). Thanks again :)