sinon icon indicating copy to clipboard operation
sinon copied to clipboard

feat: throw when trying to use .value() on a method

Open mroderick opened this issue 1 year ago • 1 comments

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

  1. Check out this branch
  2. npm install
  3. npm test

Checklist for author

  • [x] npm run lint passes
  • [x] References to standard library functions are cached.

mroderick avatar Dec 26 '24 09:12 mroderick

@mantoni the errors seen in ubuntu-latest might also affect Mochify running on latest Chrome + Ubuntu.

image

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

mroderick avatar Dec 26 '24 16:12 mroderick