Skip to content

Add a 'deock' option to prevent fuzzy matching on 'ock(' in source files#100

Open
tdaffin wants to merge 1 commit intoaelbore:masterfrom
tdaffin:deock
Open

Add a 'deock' option to prevent fuzzy matching on 'ock(' in source files#100
tdaffin wants to merge 1 commit intoaelbore:masterfrom
tdaffin:deock

Conversation

@tdaffin
Copy link
Copy Markdown

@tdaffin tdaffin commented Feb 14, 2025

This is intended to fix issues like #54
My problem is that I have a class called Block so whenever 'new Block()' appears in a source file esbuild-jest breaks.

@tdaffin
Copy link
Copy Markdown
Author

tdaffin commented Feb 14, 2025

Switching to swc/jest also fixes this problem: https://swc.rs/docs/usage/jest
I'd recommend that instead of messing with this PR.

@tohrxyz
Copy link
Copy Markdown

tohrxyz commented Jan 28, 2026

Had this exact problem with method name lock and also updateWithLock . However as the package is inactive, it's best to switch transformer to ts-jest or @swc/jest

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