veres-one / did-veres-one

A Decentralized Identifier utility library for Veres One
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

github actions and karma tests are broken #76

Open aljones15 opened 2 years ago

aljones15 commented 2 years ago

Seems to be related to the use of nock:

ERROR in ./node_modules/nock/lib/back.js 3:15-32
Module not found: Error: Can't resolve 'assert' in '/home/liminal18/Programs/nodejs/veres_one/did-veres-one/node_modules/nock/lib'

Branch: v14.x Steps:

  1. npm i
  2. npm run test-karma

Related:

https://github.com/nock/nock/issues/1471

Nock issue from 2019 suggests that nock doesn't work in the browser at all.

Related: https://github.com/veres-one/did-veres-one/issues/58