browserify / browserify/diffie-hellman
Tests fail for Node.js >= 12
- Lingua principale
- JavaScript
- Stelle
- 95
- Fork
- 26
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Sharing the logs:
```
✗ same error for bad prime
---
operator: equal
expected: 1
actual: 9
at: Test. (/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. (/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. (/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! diffie-hellman@5.0.3 test: `node test.js | tspec`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the diffie-hellman@5.0.3 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
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia con le asserzioni fallite in test.js alle righe 127, 130 e 136, quindi esegui il comando npm test mostrato nel report con Node.js 12 o versione successiva. Il lavoro è completato quando i tre controlli degli errori passano e la suite completa riporta 233 test superati senza errori.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, node.js
- Ambito
- testing
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100