I sometimes see these errors in my tests. But these aren't helpful. Would be good to see a stack trace as well. With a stack trace it'll be easier for me to see where in the code the loop goes on forever.
+1
+1
+1
You wouldn't happen to be using an old version of react-select? https://github.com/JedWatson/react-select/issues/86
Hi Craig,
I'm not sure what you mean. I was using a version of react-select, but it
didn't work with Jest. I then submitted a PR to fix this with react-select
and now I'm using that version.
-Matt
On Wed, Apr 22, 2015 at 10:11 AM, Craig Dallimore [email protected]
wrote:
You wouldn't happen to be using an old version of react-select?
JedWatson/react-select#86
https://github.com/JedWatson/react-select/issues/86—
Reply to this email directly or view it on GitHub
https://github.com/facebook/jest/issues/272#issuecomment-95085545.
Hi Matt
Thanks for that - you probably solved a problem I ran into yesterday. When I saw this (very similar looking) issue here, I wondered if the other folks commenting here (or those who might come here from a search) would benefit if they're in the same react-select circumstances as I was.
cannot remember the version i had at that time
I haven't seen this issue with jest 0.5. If you have a repro for a current version of jest, please reopen this issue.
Hi,
Encountered this issue using the latest version 20.0.3 along with jest-preset-angular 2.0.2
Failed to write coverage reports:
ERROR: RangeError: Maximum call stack size exceeded
STACK: RangeError: Maximum call stack size exceeded
at Object.fs.mkdirSync (fs.js:922:18)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:71:13)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:77:24)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17)
at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17)
Most helpful comment
Hi,
Encountered this issue using the latest version 20.0.3 along with jest-preset-angular 2.0.2
Failed to write coverage reports: ERROR: RangeError: Maximum call stack size exceeded STACK: RangeError: Maximum call stack size exceeded at Object.fs.mkdirSync (fs.js:922:18) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:71:13) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:77:24) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17) at sync (C:\Users\Lee\Apps\ins-library-scaffolding\node_modules\mkdirp\index.js:78:17)