Advertisement
Guest User

Untitled

a guest
Mar 16th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. Raissas-MacBook-Pro:blocipedia Raissa$ npm test
  2.  
  3. > blocipedia@1.0.0 test /Users/Raissa/bloc/blocipedia
  4. > export NODE_ENV=test && jasmine
  5.  
  6. Started
  7. server is listening for requests on port 3000
  8. GET / 200 21.743 ms - 2554
  9. .GET /users/signup 200 2.827 ms - 2394
  10. .{ username: 'raibola',
  11. email: 'user@example.com',
  12. password: '123456789',
  13. passwordConfirmation: undefined }
  14. salt
  15. $2a$10$R6FDlymIcT/BcrEKilym4O
  16. new user's password
  17. 123456789
  18. hashedpassword
  19. $2a$10$R6FDlymIcT/BcrEKilym4OlguIYePD2S1qwA.Lal9CqtqiUwFl8Mq
  20. Unhandled rejection Error: Illegal arguments: string, undefined
  21. at Object.bcrypt.compareSync (/Users/Raissa/bloc/blocipedia/node_modules/bcryptjs/dist/bcrypt.js:265:19)
  22. at Object.comparePass (/Users/Raissa/bloc/blocipedia/src/auth/helpers.js:17:19)
  23. at User.findOne.then (/Users/Raissa/bloc/blocipedia/src/config/passport-config.js:19:34)
  24. at tryCatcher (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/util.js:16:23)
  25. at Promise._settlePromiseFromHandler (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/promise.js:512:31)
  26. at Promise._settlePromise (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/promise.js:569:18)
  27. at Promise._settlePromise0 (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/promise.js:614:10)
  28. at Promise._settlePromises (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/promise.js:694:18)
  29. at _drainQueueStep (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/async.js:138:12)
  30. at _drainQueue (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/async.js:131:9)
  31. at Async._drainQueues (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/async.js:147:5)
  32. at Immediate.Async.drainQueues [as _onImmediate] (/Users/Raissa/bloc/blocipedia/node_modules/bluebird/js/release/async.js:17:14)
  33. at runCallback (timers.js:705:18)
  34. at tryOnImmediate (timers.js:676:5)
  35. at processImmediate (timers.js:658:5)
  36.  
  37. FPOST /users/ 302 2.708 ms - 31
  38. ....
  39.  
  40. Failures:
  41. 1) routes : users POST /users should create a new user with valid values and redirect
  42. Message:
  43. Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
  44. Stack:
  45. Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
  46. at <Jasmine>
  47. at ontimeout (timers.js:436:11)
  48. at tryOnTimeout (timers.js:300:5)
  49. at listOnTimeout (timers.js:263:5)
  50. at Timer.processTimers (timers.js:223:10)
  51.  
  52. 7 specs, 1 failure
  53. Finished in 5.275 seconds
  54. npm ERR! Test failed. See above for more details.
  55. Raissas-MacBook-Pro:blocipedia Raissa$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement