Guest User

Untitled

a guest
Jan 20th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): Error: expect(received).toEqual(expected)
  2.  
  3. Expected value to equal:
  4. [{"payload": {"id": "operatingsystem", "search": "/hosts?search=os_title=~VAL~", "title": "OS Distribution", "url": "statistics/operatingsystem"}, "type": "STATISTICS_DATA_REQUEST"}, {"payload": {"id": "architecture", "search": "/hosts?search=facts.architecture=~VAL~", "title": "Architecture Distribution", "url": "statistics/architecture"}, "type": "STATISTICS_DATA_REQUEST"}, {"payload": {"data": [["centOS 7.1", 6]], "id": "operatingsystem", "search": "/hosts?search=os_title=~VAL~", "title": "OS Distribution", "url": "statistics/operatingsystem"}, "type": "STATISTICS_DATA_SUCCESS"}, {"payload": {"data": [["x86_64", 6]], "id": "architecture", "search": "/hosts?search=facts.architecture=~VAL~", "title": "Architecture Distribution", "url": "statistics/architecture"}, "type": "STATISTICS_DATA_SUCCESS"}]
  5. Received:
  6. + Array []
  7.  
  8. Difference:
  9.  
  10. - Expected
  11. + Received
  12.  
  13. -Array [
  14. - Object {
  15. - "payload": Object {
  16. - "id": "operatingsystem",
  17. - "search": "/hosts?search=os_title=~VAL~",
  18. - "title": "OS Distribution",
  19. - "url": "statistics/operatingsystem",
  20. - },
  21. - "type": "STATISTICS_DATA_REQUEST",
  22. - },
  23. - Object {
  24. - "payload": Object {
  25. - "id": "architecture",
  26. - "search": "/hosts?search=facts.architecture=~VAL~",
  27. - "title": "Architecture Distribution",
  28. - "url": "statistics/architecture",
  29. - },
  30. - "type": "STATISTICS_DATA_REQUEST",
  31. - },
  32. - Object {
  33. - "payload": Object {
  34. - "data": Array [
  35. - Array [
  36. - "centOS 7.1",
  37. - 6,
  38. - ],
  39. - ],
  40. - "id": "operatingsystem",
  41. - "search": "/hosts?search=os_title=~VAL~",
  42. - "title": "OS Distribution",
  43. - "url": "statistics/operatingsystem",
  44. - },
  45. - "type": "STATISTICS_DATA_SUCCESS",
  46. - },
  47. - Object {
  48. - "payload": Object {
  49. - "data": Array [
  50. - Array [
  51. - "x86_64",
  52. - 6,
  53. - ],
  54. - ],
Add Comment
Please, Sign In to add comment