Skip to content

W-20911530: added unit tests for payments related files.#3701

Merged
nayanavishwa merged 1 commit intot/team404/sfp-on-pwafrom
nayanavishwa/W-20911530-unitTest
Mar 2, 2026
Merged

W-20911530: added unit tests for payments related files.#3701
nayanavishwa merged 1 commit intot/team404/sfp-on-pwafrom
nayanavishwa/W-20911530-unitTest

Conversation

@nayanavishwa
Copy link
Collaborator

Description

Added unit tests for:

  • app/pages/checkout/index.test.js
  • app/pages/checkout/partials/payment.test.js
image image

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Breaking change (could cause existing functionality to not work as expected)
  • Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

Changes

  • (change1)

How to Test-Drive This PR

  • (step1)

Checklists

General

  • Changes are covered by test cases
  • CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

You must check off all items in one of the follow two lists:

  • There are no changes to UI

or...

Localization

  • Changes include a UI text update in the Retail React App (which requires translation)

@nayanavishwa nayanavishwa requested a review from a team as a code owner March 2, 2026 21:50
@cc-prodsec
Copy link
Collaborator

cc-prodsec commented Mar 2, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@nayanavishwa nayanavishwa force-pushed the nayanavishwa/W-20911530-unitTest branch from 438d93f to bda9f17 Compare March 2, 2026 22:17
@nayanavishwa nayanavishwa added the skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated label Mar 2, 2026
@nayanavishwa nayanavishwa merged commit 3b1c308 into t/team404/sfp-on-pwa Mar 2, 2026
8 of 16 checks passed
@nayanavishwa nayanavishwa deleted the nayanavishwa/W-20911530-unitTest branch March 2, 2026 23:16
rasbhat pushed a commit that referenced this pull request Mar 5, 2026
…20911530-unitTest

W-20911530: added unit tests for payments related files.
rasbhat pushed a commit that referenced this pull request Mar 5, 2026
…20911530-unitTest

W-20911530: added unit tests for payments related files.
rasbhat pushed a commit that referenced this pull request Mar 5, 2026
…20911530-unitTest

W-20911530: added unit tests for payments related files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants