zlib: test BrotliCompress throws invalid arg value
Improving the coverage for this:
https://github.com/nodejs/node/blob/0ca861745ad47f1b02dbb4ea30b0d7d4328f0719/lib/zlib.js#L807-L809
First time I'm writing a test!
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines