FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test_runner: support typescript files in default glob by avivkeller · Pull Request #55081 · nodejs/node · GitHub

/ node Public

test_runner: support typescript files in default glob - #55081

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
avivkeller:patch-647672
Sep 29, 2024
Merged

test_runner: support typescript files in default glob#55081
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
avivkeller:patch-647672

Conversation

avivkeller commented Sep 23, 2024
edited
Loading

Copy link
Copy Markdown
Member

This is a draft. I haven't added tests for this change yet.

Ready for review

Fixes #55078
Fixes nodejs/help#3902

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/test_runner

nodejs-github-bot added needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem. labels Sep 23, 2024
avivkeller added the strip-types Issues or PRs related to strip-types support label Sep 23, 2024
Comment thread lib/internal/test_runner/utils.js Outdated
avivkeller changed the title test_runner: add typescript files to kPatterns test_runner: support typescript files in default glob Sep 23, 2024
avivkeller marked this pull request as ready for review September 23, 2024 21:32
avivkeller requested a review from cjihrig September 23, 2024 21:32

Copy link
Copy Markdown

May be worths also to update docs section. Currently is only mentioned there that js files will be processed

codecov Bot commented Sep 24, 2024
edited
Loading

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.25%. Comparing base (c4681d5) to head (277c56e).
Report is 408 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #55081   +/-   ##
=======================================
  Coverage   88.24%   88.25%           
=======================================
  Files         652      651    -1     
  Lines      183880   183859   -21     
  Branches    35858    35857    -1     
=======================================
- Hits       162271   162261   -10     
+ Misses      14900    14891    -9     
+ Partials     6709     6707    -2     
Files with missing lines Coverage Δ
lib/internal/test_runner/utils.js 56.10% <100.00%> (+0.21%) ⬆️

... and 57 files with indirect coverage changes

Comment thread test/parallel/test-runner-cli.js Outdated

cjihrig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The code and docs changes LGTM, but see the previous comment on the test.

avivkeller requested a review from rluvaton September 25, 2024 22:05
avivkeller added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Sep 28, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 28, 2024

Copy link
Copy Markdown
Collaborator

mcollina 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

marco-ippolito added the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 29, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 29, 2024
nodejs-github-bot merged commit 27dab9d into nodejs:main Sep 29, 2024

Copy link
Copy Markdown
Collaborator

Landed in 27dab9d

targos pushed a commit that referenced this pull request Oct 4, 2024
PR-URL: #55081
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request Oct 4, 2024
PR-URL: #55081
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95 mentioned this pull request Oct 9, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. needs-ci PRs that need a full CI run. strip-types Issues or PRs related to strip-types support test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support *.ts files for node --test How to run the Node built-in testrunner for TypeScript files inside a specific directory?

8 participants


Back | FazBrowse Home | New Git URL