Skip to content

test: remove unnecessary assert requiring from tests - #57008

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
dario-piotrowicz:dario/remove-unnecessary-require-assert-from-tests
Feb 14, 2025
Merged

test: remove unnecessary assert requiring from tests#57008
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
dario-piotrowicz:dario/remove-unnecessary-require-assert-from-tests

Conversation

@dario-piotrowicz

Copy link
Copy Markdown
Member

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. node-api Issues and PRs related to the Node-API. test Issues and PRs related to the tests. labels Feb 12, 2025
@anonrig
anonrig requested a review from jasnellFebruary 12, 2025 00:27
@anonriganonrig added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Feb 12, 2025
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 12, 2025
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@codecov

codecovBot commented Feb 12, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.10%. Comparing base (43ffcf1) to head (c23abd5).
Report is 16 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #57008 +/- ##
=======================================
Coverage 89.09% 89.10% =======================================
Files 665 665 Lines 193191 193191 Branches 37211 37207 -4 =======================================
+ Hits 172130 172135 +5 - Misses 13762 13776 +14 + Partials 7299 7280 -19 

see 26 files with indirect coverage changes

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@aduh95

Copy link
Copy Markdown
Contributor

Why though?

@dario-piotrowicz

Copy link
Copy Markdown
MemberAuthor

Why though?

it just simplifies the code (even though it's very minimal)? 🙂

@mhdawsonmhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@anonriganonrig added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 14, 2025
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 14, 2025
@nodejs-github-bot
nodejs-github-bot merged commit cc7018e into nodejs:mainFeb 14, 2025
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in cc7018e

@dario-piotrowicz
dario-piotrowicz deleted the dario/remove-unnecessary-require-assert-from-tests branch February 14, 2025 17:30
targos pushed a commit that referenced this pull request Feb 17, 2025
PR-URL: #57008
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
acidiney pushed a commit to acidiney/node that referenced this pull request Feb 23, 2025
PR-URL: nodejs#57008
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
aduh95 pushed a commit that referenced this pull request Apr 2, 2025
PR-URL: #57008
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
aduh95 pushed a commit that referenced this pull request Apr 3, 2025
PR-URL: #57008
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
RafaelGSS pushed a commit that referenced this pull request Apr 16, 2025
PR-URL: #57008
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
RafaelGSS pushed a commit that referenced this pull request Apr 17, 2025
PR-URL: #57008
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.needs-ciPRs that need a full CI run.node-apiIssues and PRs related to the Node-API.testIssues and PRs related to the tests.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants

@dario-piotrowicz@nodejs-github-bot@aduh95@anonrig@mhdawson