linkedtales / scrapedin

LinkedIn Scraper (currently working 2020)
Apache License 2.0
588 stars 171 forks source link

[scrapedin.test.js] ExpectationError: Anonymous mock already called twice #132

Open JustalK opened 3 years ago

JustalK commented 3 years ago

Hello,

Error Message : ExpectationError: Anonymous mock already called twice

How to replicate : After cloning the repository and installing the dependencies npm install scrapedin I try to run the test and coverage : npm run test or npm run coverage

I tried to find the origin of the error, apparently it seems to be in the file scrapedin.test.js in the page object in the function page.evaluate line 281. The error show up just after the called to this function made by the file scrapAccomplishmentPanel.js.

Am I missing something ? I am not really an expect of sinon.js

gustawdaniel commented 3 years ago

I have the sam error.