FOSSologyUI icon indicating copy to clipboard operation
FOSSologyUI copied to clipboard

Tests/components tests

Open nillanshu opened this issue 1 year ago • 0 comments

Addresses issue: #159

Description

Added unit tests to increase coverage

Changes

  • Added the ‘role’ and 'aria-label' attributes to certain component files to identify specific elements, and utilized these attributes for executing tests
  • Tests added for the components folder

How to Test

Run the following command: yarn test --coverage

This submission refers to the open Hacktoberfest issue #159 . However there are a lot more tests that could be added and I welcome others to add as well.

nillanshu avatar Feb 15 '24 05:02 nillanshu