sinon
sinon copied to clipboard
feat: throw when trying to use .value() on a method
Purpose (TL;DR) - mandatory
This is a solution for #2629
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptor#get for the .get property on the property descriptor.
How to verify - mandatory
- Check out this branch
npm installnpm test
Checklist for author
- [x]
npm run lintpasses - [x] References to standard library functions are cached.
@mantoni the errors seen in ubuntu-latest might also affect Mochify running on latest Chrome + Ubuntu.
If you're seeing similar errors in Mochify, you might want to stick to ubuntu-22.04 for a bit, while the Chrome/Ubuntu conflict gets fixed in Ubuntu/Puppeteer/Chrome land.
- https://github.com/puppeteer/puppeteer/issues/13365