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

[Bug]: wrong RegExp explanations in docs #4264

Open
uiolee opened this issue Feb 9, 2024 · 1 comment
Open

[Bug]: wrong RegExp explanations in docs #4264

uiolee opened this issue Feb 9, 2024 · 1 comment

Comments

@uiolee
Copy link

uiolee commented Feb 9, 2024

Version

latest branch main 70d48be61a9dd641e75bd220ffb0f0488bd5fac7

Steps to reproduce

https://kulshekhar.github.io/ts-jest/docs/getting-started/options#introduction

Expected behavior

correct comment

Actual behavior

// '^.+\\.[tj]sx?$' to process js/ts with `ts-jest`
// '^.+\\.m?[tj]sx?$' to process js/ts/mjs/mts with `ts-jest`

this comment is wrong.

regexp [tj]sx? is matched ts,js,tsx,jsx
m?[tj]sx? matched ts,js,tsx,jsx,mts,mjs,mtsx,mjsx

Debug log

null

Additional context

No response

Environment

null
@uiolee
Copy link
Author

uiolee commented Feb 9, 2024

related pr: #3834

This error appears in multiple places

@uiolee uiolee changed the title [Bug]: error in docs "options" [Bug]: wrong RegExp explanations in docs Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant