You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can run it with: ./node_modules/jest/bin/jest.js test.ts
Jest version: "jest": "^26.6.3",
when running with mocha all good :)
./node_modules/mocha/bin/mocha -r ts-node/register test/sequential/test.ts
test string <-> buffer utils
✔ should generate valid secret
1 passing (9ms)
hopefully, you can help me a bit :)
Thanks!
UPDATE:
I think this is somehow reported in a lib dependency project. I'm still wondering why it works in mocha but not in JEST 🙃 cryptocoinjs/secp256k1-node#175
The text was updated successfully, but these errors were encountered:
I am trying to incorporate this lib into my Jest tests, but getting the following error:
Expected private key to be an Uint8Array
Error trace:
I created this small test that fails,
you can run it with:
./node_modules/jest/bin/jest.js test.ts
Jest version:
"jest": "^26.6.3",
when running with mocha all good :)
hopefully, you can help me a bit :)
Thanks!
UPDATE:
I think this is somehow reported in a lib dependency project. I'm still wondering why it works in mocha but not in JEST 🙃
cryptocoinjs/secp256k1-node#175
The text was updated successfully, but these errors were encountered: