All my jest
typescript
tests fail in my travis
pipeline throwing the following error:
TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'
This happened suddenly without me changing anything particular in the code. And locally everything works fine.
Any ideas what could be happening ?
That is a bug that came with node v11.11. You can downgrade to v11.10 or wait for the fix which facebook has already pushed (jest error in Node version over 11.11).
If your problem is TravisCI related then you can set a fixed version which works:
node_js: - "11.10.1"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With