rotemdan / lzutf8.js

A high-performance Javascript string compression library
MIT License
322 stars 26 forks source link

Nodejs env with jsdom #49

Closed schmetzyannick closed 2 years ago

schmetzyannick commented 2 years ago

In a test environement we need a fake window object for some other modules. LZUTF8 breaks when it detacts node and a browser environement.