Error after upgrade
See original GitHub issueI am getting following error after upgrading supertest to 6.1.1
Error: Invalid Chai property: stack. Did you mean "same"?
at Object.proxyGetter [as get] (node_modules/chai/lib/chai/utils/proxify.js:75:17)
at /home/circleci/project/node_modules/supertest/lib/test.js:81:20
What I can do about it?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >If you see an error when you update or restore your iPhone ...
Learn what to do if you see an error code or alert when you use your computer to update or restore your device....
Read more >Error after Upgrade - QuickBooks - Intuit
You've got me here today to share some more information in fixing the errors that you received after upgrading your QuickBooks.
Read more >Error after upgrade :-( | Ubiquiti Community
Today i installed 3.4.0 - and i keep seeing a new version to install 3.4.0. I pushed this version and not i am...
Read more >Error after upgrade - Atlassian Community
Good day, the following error is displayed after ugprade of Confluence: Pre-upgrade validation failed. Check the Confluence application logs for more.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PR?
Given the following example:
The error described above happens when the
chai
assertion succeeds. The reason is that the result of the arrow function is thechai
assertion proxy. Atsupertest/lib/test.js#L80
:Then using
err.stack
causes chai to throw the errorInvalid Chai property: stack.
Sinceerr
is expected to be an Error object, from SuperTest assertions or Chai assertions, the check should useinstanceof
instead: