issues
search
mwpenny
/
kijiji-scraper
A lightweight node.js module for retrieving and scraping ads from Kijiji
MIT License
96
stars
44
forks
source link
Fixes for newer versions of Node.js and TypeScript
#64
Closed
mwpenny
closed
2 years ago
mwpenny
commented
2 years ago
Update invalid URL test for API scraper to handle slightly different error message in current versions of Node
Handle non-
Error
objects thrown when searching, and in tests
Do not mock
setTimeout()
in
sleep()
(use fake timers instead)
Drop Node 10.x from the CI workflow and add Node 16.x (the current LTS)
Error
objects thrown when searching, and in testssetTimeout()
insleep()
(use fake timers instead)