Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode 1.62 - Definition for rule 'testing-library/no-debug' was not found

Got this error message Definition for rule 'testing-library/no-debug' was not found. right after VSCode update. Tried to install @types/testing-library, it didn't help.

like image 886
flppv Avatar asked Oct 15 '25 11:10

flppv


1 Answers

Find testing-library/no-debug in your Eslint config then change it to testing-library/no-debugging-utils.

Ref: https://github.com/testing-library/eslint-plugin-testing-library/blob/main/docs/migration-guides/v5.md#steps-to-upgrade

like image 163
warizz Avatar answered Oct 18 '25 08:10

warizz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!