Skip to content

test(utils): add unit tests for isOneLineExpressionExport#539

Merged
fraxken merged 4 commits intoNodeSecure:masterfrom
bashlor:test/isOneLineExpressionExport
Feb 23, 2026
Merged

test(utils): add unit tests for isOneLineExpressionExport#539
fraxken merged 4 commits intoNodeSecure:masterfrom
bashlor:test/isOneLineExpressionExport

Conversation

@bashlor
Copy link
Copy Markdown
Contributor

@bashlor bashlor commented Feb 18, 2026

Adds unit tests for isOneLineExpressionExport covering:

  • empty and multi-statement bodies
  • direct require calls
  • module.exports assignments
  • conditional and logical expressions
  • member expressions
  • non-require expressions

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 18, 2026

🦋 Changeset detected

Latest commit: 67d376f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nodesecure/js-x-ray Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread workspaces/js-x-ray/test/utils/isOneLineExpressionExport.spec.ts
Comment thread workspaces/js-x-ray/test/utils/isOneLineExpressionExport.spec.ts Outdated
@fraxken fraxken merged commit f5d744d into NodeSecure:master Feb 23, 2026
7 checks passed
@fraxken
Copy link
Copy Markdown
Member

fraxken commented Feb 23, 2026

@allcontributors please add @bashlor for test

@allcontributors
Copy link
Copy Markdown
Contributor

@fraxken

I've put up a pull request to add @bashlor! 🎉

@github-actions github-actions Bot mentioned this pull request Feb 22, 2026
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.

4 participants