Skip to content

Frontend unit tests#34

Merged
SamuelLo1 merged 30 commits into
mainfrom
frontendUnitTests
Mar 12, 2026
Merged

Frontend unit tests#34
SamuelLo1 merged 30 commits into
mainfrom
frontendUnitTests

Conversation

@SamuelLo1

Copy link
Copy Markdown
Collaborator

Description

Resolves Issue #13

Changes Made

Just want to test out how a workflow works, still have more unit tests to add and also want to implement logging of some sort to understand test coverage etc.

Added Jest Test for serviceWizard

  • configured jest
    npm test
    to run jest tests
  • added a agents.md file to give copilot context when creating additional tests

Testing

  • Tested locally
  • Added/updated unit tests
  • All tests passing

Screenshots (if applicable)

@SamuelLo1

Copy link
Copy Markdown
Collaborator Author

@copilot can you fix the lint errors without changing logic of the code ty!

Copilot AI commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@SamuelLo1 I've opened a new pull request, #35, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits March 11, 2026 04:57
Co-authored-by: SamuelLo1 <116762010+SamuelLo1@users.noreply.github.com>
[WIP] Add frontend unit tests for serviceWizard
@SamuelLo1 SamuelLo1 requested a review from smalex-z March 11, 2026 05:03

@smalex-z smalex-z left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! could you add a comment step though like Golang where it reports number of tests run and number of tests passed?

@SamuelLo1 SamuelLo1 merged commit b3c90f4 into main Mar 12, 2026
5 checks passed
@github-actions

Copy link
Copy Markdown

Unit tests run: 76
Unit tests passed: 76
Test coverage: 30.4%

@SamuelLo1 SamuelLo1 deleted the frontendUnitTests branch March 12, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants