digitalbazaar / edv-client

An Encrypted Data Vault Client
BSD 3-Clause "New" or "Revised" License
13 stars 9 forks source link

Incompatible with jest ^26.6.3 #81

Closed OR13 closed 2 years ago

OR13 commented 3 years ago
const edv = require('edv-client');

it('can require edv', () => {
  console.log(edv);
});

This will eventually error with FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

when run in jest... I think this is caused by minimal-cipher...

    "jest": "^26.6.3"
OR13 commented 3 years ago

Downgrading jest to

  "jest": "22.0.0"

resolved this issue.

OR13 commented 3 years ago

I using tsdx downgrade to :

"tsdx": "^0.13.2",
dlongley commented 2 years ago

Should be addressed by #103.