Comments (2)
The root causes is jest using worker threads and communicating things across threads.
Specifically when you throw an error in a selector eslint will include the current AST node in the error. The AST is cyclic and thus the error.
from typescript-eslint.
Ha, yeah, I saw this recently and got around it hackily by adding to the file mentioned in the error:
at messageParent (../../node_modules/jest-worker/build/workers/messageParent.js:29:19)
} else if (typeof parentProcess.send === 'function') {
+ console.log(message?.[1]?.[1]);
parentProcess.send([_types.PARENT_MESSAGE_CUSTOM, message]);
Is this a bug in Jest? If so, is it resolved by bumping to the latest version? Someone should look into this. 😄
from typescript-eslint.
Related Issues (20)
- Bug: TypeOrValueSpecifier should allow intersection types (no-floating-promises allowForKnownSafePromises)
- Bug: [prefer-optional-chain] conflict with [strict-boolean-expressions] HOT 3
- Document rationale for allowNumber: false in restrict-template-expressions HOT 3
- Bug: Vue + TypeScript project slowdown with v8 alpha HOT 13
- projectService / EXPERIMENTAL_useProjectService gives TS error if not boolean on v8 alpha / v7 HOT 1
- Docs: add an FAQ section about eslint TIMING/`--stats` and type-aware rules being misleading HOT 1
- Bug: `disabled-type-checked` config does not disable project service
- Enhancement: `no-misused-promises` should not flag functions whose contents are wrapped in `try`/`catch` HOT 2
- Base rule extension: nonblock-statement-body-position HOT 1
- Enhancement(typescript-estree): expose ProjectService logs through plugin HOT 2
- Website: Playground is currently broken HOT 2
- Docs: Release note of v7.12.0 contains critical misleading typo HOT 2
- Bug: `[email protected]` has TS error HOT 1
- Bug(website): React key error on internal pages of website
- Rule proposal: disallow comparing non-numeric values with >, < operators HOT 12
- Bug: no-unused-vars with for await...of loops HOT 2
- Enhancement: `no-floating-promises` - don't trigger on browser event handlers HOT 2
- Bug: [promise-function-async] Incompatibility with new async React types HOT 4
- Feature request: Ship ESM version of `@typescript-eslint/typescript-estree` HOT 4
- Bug: single run mode breaks with fixers HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-eslint.