Closed aaldemir closed 3 years ago
Currently getting an error when unit testing in the before all
hook:
done() called multiple times in hook <Application Server "before all" hook> of file /.../key-recovery-service-v2/test/app.js; in addition, done() received error: MongoError: pool is draining, new operations prohibited
Motivation
update elliptic npm package to latest version due to risk of signature malleability
Overview Of Changes
dependency changes in addition to one line in
krs.js
to include auseFindAndModify
parameter because of a deprecation warning for usingfindOneAndUpdate
(more detail here)Ticket: BG-23533