Patrick McElhaney

Results 76 comments of Patrick McElhaney

Poking around the code on my phone, I found the config for which test types should have the debug code lens. https://github.com/jest-community/vscode-jest/blob/c8ba11e81edc471bb44d8a212c937c8cbbdff7d9/package.json#L146 Note that “todo” is not in the list,...

Okay, it looks like "pending" (todo) results are tagged as "KnownSkip". https://github.com/jest-community/jest-editor-support/blob/2f74cee697b4efc6f75f6e7678a7ca785acb25d5/src/test_reconciler.js#L132 Pending (it.todo) is not the same as skipped (it.skip). I'm pretty sure todo is a relatively recent addition...

Maybe "pending" does mean skipped. This makes it look lime there's a status named "todo". https://github.com/facebook/jest/blob/d00695d176ea948954c1df7a1f7208a2c788d923/packages/jest-reporters/src/VerboseReporter.ts#L103

Yeah, I don't think it will be hard to fix. I have next week off work so I'll look at it then.

@connectdotz I created two PRs, jest-community/jest-editor-support#61 and #659. I'm not sure where I went wrong with the second PR, but now I'm not seeing the debug tag above any tests.

Hi @destroyer22719, from the screenshots it looks like the extension is working properly but your tests are failing for some reason that's not related to VSCode. What happens when you...

For now I'm working around it by disabling and then restoring the rule. ```ts function renderTime(time: Temporal.PlainTime): Renderable { /* Stryker disable StringLiteral, ObjectLiteral */ return html` ${formatTime(time)} `; /*...

@kobleistvan Would it be helpful if there was an option to automatically find the tsconfig file for each .ts file (using the same algorithm as TypeScript itself)? That's my ultimate...

I had the same problem. Change the target from "auto" to a specific ECMAScript version, e.g. "es2017". It's needed because of [a change in ESBuild](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md#0125). > Change class field behavior...

Indeed, that issue and PR were instigated by this very problem. :)