testing-library / testing-playground

Simple and complete DOM testing playground that encourage good testing practices.
https://testing-playground.com
MIT License
783 stars 62 forks source link

chore: use global URL instead of import #291

Closed MichaelDeBoey closed 3 years ago

MichaelDeBoey commented 3 years ago

Remove const URL = require('url'); line, because url.parse is deprecated and URL is globally available since Node 10.

I also added the engines key to the package.json to make it clear that this project needs to be run on Node 10 as memoize-one needs it https://github.com/alexreardon/memoize-one/blob/c7994d25b614531c7ccfd30cc34d49385e3fa678/package.json#L90