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

Add `npm run ava` command, update instructions, and exclude files from VSCode search by mbg · Pull Request #3152 · github/codeql-action · GitHub

Add npm run ava command, update instructions, and exclude files from VSCode search - #3152

Merged
mbg merged 4 commits into
mainfrom
mbg/node/individual-test-cmd
Sep 25, 2025
Merged

Add npm run ava command, update instructions, and exclude files from VSCode search#3152
mbg merged 4 commits into
mainfrom
mbg/node/individual-test-cmd

Conversation

mbg commented Sep 25, 2025

Copy link
Copy Markdown
Member

A few minor bits bundled up:

  • Adds a npm run ava command; which can be used to run tests based on a custom path.
  • Updates npm run test to use that, with the existing src/ path.
  • Updates CONTRIBUTING.md to highlight npm run ava
  • Updates the justfile to use npm run ava
  • Filters transpiled files and node_modules from search results in VSCode

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

mbg requested a review from a team as a code owner September 25, 2025 11:48
Copilot AI review requested due to automatic review settings September 25, 2025 11:48

Copilot AI 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

Pull Request Overview

This PR adds development tooling improvements to streamline test execution and improve the development experience. It introduces a flexible npm run ava command for running tests on custom paths, while maintaining backward compatibility with the existing test workflow.

  • Adds a new npm run ava script to enable flexible test path specification
  • Updates existing npm run test to use the new script with default src/ path
  • Updates documentation and justfile to reference the new command
  • Excludes transpiled files from VSCode search results

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Adds ava script and updates test script to use it with default path
lib/*.js Auto-generated JavaScript files reflecting package.json changes
justfile Updates test_file recipe to use new npm script
CONTRIBUTING.md Documents the new testing command for specific paths
.vscode/settings.json Excludes build artifacts from search results

mbg force-pushed the mbg/node/individual-test-cmd branch 2 times, most recently from 01f46d9 to 4ebd49f Compare September 25, 2025 12:25
mbg force-pushed the mbg/node/individual-test-cmd branch from 4ebd49f to 48be21c Compare September 25, 2025 13:22
mbg requested a review from henrymercer September 25, 2025 13:29
mbg merged commit 853decd into main Sep 25, 2025
238 of 239 checks passed
mbg deleted the mbg/node/individual-test-cmd branch September 25, 2025 13:42
github-actions Bot mentioned this pull request Sep 26, 2025
8 tasks
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL