Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[workspace]feat: add a unit test case to indicate React is anti-xss #7699

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

SuZhou-Joe
Copy link
Member

@SuZhou-Joe SuZhou-Joe commented Aug 13, 2024

Description

Add a unit test to indicate React is anti-xss

Issues Resolved

Screenshot

Testing the changes

Changelog

  • feat: add a unit test case to indicate React is anti-xss

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.74%. Comparing base (b68754e) to head (f15dacc).
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7699   +/-   ##
=======================================
  Coverage   63.74%   63.74%           
=======================================
  Files        3637     3637           
  Lines       80444    80444           
  Branches    12792    12792           
=======================================
  Hits        51280    51280           
  Misses      26030    26030           
  Partials     3134     3134           
Flag Coverage Δ
Linux_1 29.83% <ø> (ø)
Linux_2 55.82% <ø> (ø)
Linux_3 40.39% <ø> (ø)
Linux_4 31.29% <ø> (ø)
Windows_1 29.84% <ø> (ø)
Windows_2 55.77% <ø> (ø)
Windows_3 40.39% <ø> (+<0.01%) ⬆️
Windows_4 31.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@opensearch-project opensearch-project deleted a comment from github-actions bot Aug 14, 2024
@SuZhou-Joe SuZhou-Joe merged commit 9195f97 into opensearch-project:main Aug 15, 2024
74 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 15, 2024
…7699)

* feat: add a unit test case to indicate React is anti-xss

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* Changeset file for PR #7699 created/updated

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 9195f97)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Aug 16, 2024
…7699)

* feat: add a unit test case to indicate React is anti-xss

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* Changeset file for PR #7699 created/updated

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 9195f97)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Aug 19, 2024
…7699)

* feat: add a unit test case to indicate React is anti-xss

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* Changeset file for PR #7699 created/updated

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 9195f97)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe added a commit that referenced this pull request Aug 19, 2024
…t is anti-xss (#7718)

* [workspace]feat: add a unit test case to indicate React is anti-xss (#7699)

* feat: add a unit test case to indicate React is anti-xss

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* Changeset file for PR #7699 created/updated

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 9195f97)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat: remove name field

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants