Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail for Node.js >= 12 #33

Open
nileshpatra opened this issue Jan 31, 2020 · 0 comments
Open

Tests fail for Node.js >= 12 #33

nileshpatra opened this issue Jan 31, 2020 · 0 comments

Comments

@nileshpatra
Copy link

Sharing the logs:

    ✗ same error for bad prime
     ---
       operator: equal
       expected: 1
       actual:   9
       at: Test.<anonymous> (/home/nilesh/ups/diffie-hellman/test.js:127:5)
     ...
    ✗ same error for bad prime non testable generator
     ---
       operator: equal
       expected: 1
       actual:   5
       at: Test.<anonymous> (/home/nilesh/ups/diffie-hellman/test.js:130:5)
     ...
    ✓ same error for good prime wrong generator
    ✗ same error for good prime non testable generator
     ---
       operator: equal
       expected: 0
       actual:   4
       at: Test.<anonymous> (/home/nilesh/ups/diffie-hellman/test.js:136:5)
     ...
   
  tests 233
  pass  230
  fail  3
   
  Failed Tests: There were 3 failures

    ✗ check errors same error for bad prime
    ✗ check errors same error for bad prime non testable generator
    ✗ check errors same error for good prime non testable generator

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `node test.js | tspec`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/nilesh/.npm/_logs/2020-01-31T15_53_55_954Z-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant